check_get_connection.Rd
Check if DB connections available and valid or create new one
check_get_connection(
.database_name,
.schema,
.server_name,
r_and_a_server = FALSE
)
name of the database you want to connect to
the schema for the table you want to access
the name of the server the database is hosted on
switch for attaching to R&A server. Default is FALSE
returns an S4 object that inherits from DBIConnection. This object is used to communicate with the database engine.
Note that this function is called for it's side-effect: it will create
a connection object with the name conn_{.database_name}
so that other
functions and users have access to the connection.