Internal function to load the data from SQL databases.
load_database(
rv,
sql_statements,
db_con,
keys_to_test,
db_name,
headless = FALSE,
db_type
)
A list with a data.table for each data element as defined in the in the MDR.
A list object. Internal list simulating Shiny's 'reactive values'.
The SQL-Statement-object
The connection-socket
A vector containing the names (keys) of the variables to test.
The database name
A boolean (default: FALSE). Indicating, if the function is run only in the console (headless = TRUE) or on a GUI frontend (headless = FALSE).
The database type (postgres/oracle)