disconnect.Rd
Disconnect from a database in the IDEA data warehouse
disconnect(con)
the name DBI::DBIConnection object as a string
nothing, as it's called for its side-effects
This is a thing wrapper around DBI::dbDisconnect()
, which closes
the connection, discards all pending work, and frees resources (e.g., memory, sockets).
# The following creates a connect call `conn_PROD1` in global environment
if (FALSE) {
regions <- get_regions()
disconnect(conn_PROD1)
}