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

# S4 method for DatabaseConnectorConnection
dbDisconnect(conn)

Arguments

conn

A DBIConnection object, as returned by dbConnect().

Value

dbDisconnect() returns TRUE, invisibly.