This closes the connection, discards all pending work, and frees resources (e.g., memory, sockets).

Methods in other packages

  • DatabaseConnector::dbDisconnect("DatabaseConnectorConnection")

# S4 method for DatabaseConnectorConnection
dbDisconnect(conn)

Arguments

conn

A DBIConnection object, as returned by dbConnect().

Value

dbDisconnect() returns TRUE, invisibly.