dbDisconnect {DBI} | R Documentation |
This closes the connection, discards all pending work, and frees resources (e.g., memory, sockets).
dbDisconnect(conn, ...)
conn |
A |
... |
Other parameters passed on to methods. |
a logical vector of length 1, indicating success or failure.
Other connection methods: dbExistsTable
,
dbGetException
, dbGetQuery
,
dbListFields
, dbListResults
,
dbListTables
, dbReadTable
,
dbRemoveTable
, dbSendQuery
if (require("RSQLite")) { con <- dbConnect(RSQLite::SQLite(), ":memory:") dbDisconnect(con) }