disconnect | R Documentation |
Disconnect from a database in the IDEA data warehouse
disconnect(con)
con |
the name DBI::DBIConnection object as a string |
This is a thing wrapper around DBI::dbDisconnect()
, which closes
the connection, discards all pending work, and frees resources (e.g., memory, sockets).
nothing, as it's called for its side-effects
# The following creates a connect call `conn_PROD1` in global environment
## Not run:
regions <- get_regions()
disconnect(conn_PROD1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.