Create a QueryNamespace instance from either a connection handler or a connectionDetails object Allows construction with various options not handled by QueryNamespace$new
Note - currently not supported is having multiple table prefixes for multiple table namespaces
createQueryNamespace(
connectionDetails = NULL,
connectionHandler = NULL,
usePooledConnection = FALSE,
tableSpecification = NULL,
resultModelSpecificationPath = NULL,
tablePrefix = "",
snakeCaseToCamelCase = TRUE,
...
)
An object of type connectionDetails
as created using the
createConnectionDetails
function in the
DatabaseConnector package.
ResultModelManager ConnectionHandler or PooledConnectionHandler instance
Use Pooled database connection instead of standard DatabaseConnector single connection.
Table specfication data.frame
(optional) csv file or files for tableSpecifications - must conform to table spec format.
String to prefix table names with - default is empty string
convert snakecase results to camelCase field names (TRUE by default)
Elipsis - use for any additional string keys to replace