Disconnect a Postgres Connection object with the option of removing the object from the parent environment.

dc0(conn, ..., verbose = TRUE, remove = FALSE)

Arguments

conn

Connection object

...

Additional arguments passed to dbDisconnect.

verbose

If TRUE, returns a console message when the connection has been closed.

remove

If TRUE, the Connection object argument is removed from the parent environment.

See also

Other connection functions: conn_db(), connect_ff(), connect(), dc(), quietly.conn_db()