disconnect_cnt | R Documentation |
Generic implementing of how to disconnect from the relevant connections. Mostly relevant for DBI connectors.
ConnectorDBI: Uses DBI::dbDisconnect()
to create a table reference to close a DBI connection.
disconnect_cnt(connector_object, ...)
## S3 method for class 'ConnectorDBI'
disconnect_cnt(connector_object, ...)
connector_object |
Connector The connector object to use. |
... |
Additional arguments passed to the method for the individual connector. |
invisible connector_object.
# Open and close a DBI connector
cnt <- connector_dbi(RSQLite::SQLite())
cnt$conn
cnt |>
disconnect_cnt()
cnt$conn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.