Close a previously opened connection to a database.

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()])

Author

Rob Kooper

Examples

if (FALSE) { # \dontrun{
db.close(con)
} # }