connection_update: Refreshes a connection

View source: R/connection-update.R

connection_updateR Documentation

Refreshes a connection

Description

Refreshes a connection

Usage

connection_update(con, hint = "")

Arguments

con

Connection variable

hint

Optional argument passed to the Contract

Value

Returns a NULL object. If using the RStudio IDE, it will attempt to refresh the connection identified by attributes of the con object

Examples

library(DBI)
con <- connection_open(RSQLite::SQLite(), path = ":dbname:")
connection_update(con)
connection_close(con)

edgararuiz/connections documentation built on Jan. 26, 2024, 9:23 p.m.