powered by
Internal function to close the database connection. The function is just a wrapper around `RPostgres::dbDisconnect`
close_connection(conn)
A DBI database connection.
The function is just a wrapper around RPostgres::dbDisconnect / DBI::dbDisconnect and does not return any value.
# NOT RUN { db_con <- DIZutils::db_connection( db_name = "i2b2", db_type = "postgres" ) DIZutils::close_connection( conn = db_con ) # } # NOT RUN { # }
Run the code above in your browser using DataLab