Close a previously opened connection to a database.
Usage
db.close(con, showWarnings = TRUE)
Arguments
- con
database connection to be closed
- showWarnings
logical: report possible issues with connection?
Value
`TRUE`, invisibly (see [DBI::dbDisconnect()])
Examples
if (FALSE) { # \dontrun{
db.close(con)
} # }