Disconnect a Postgres Connection object with the option of removing the object from the parent environment.
dc(conn, verbose = TRUE, remove = FALSE)
| conn | Connection object |
|---|---|
| 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. |
| ... | Additional arguments passed to |
Other connection functions:
conn_db(),
connect_ff(),
connect(),
dc0(),
quietly.conn_db()