Generic function to close a database connection

db.close(con, showWarnings = TRUE)

Arguments

con

database connection to be closed

showWarnings

logical: report possible issues with connection?

Value

connection to database

Details

Close a previously opened connection to a database.

Examples

# NOT RUN {
db.close(con)
# }