DatabaseDBI Class
DatabaseDBI.Rd
This class extends the Database
class, to query a database using
DBI
with ODBC.
Super classes
DarwinShinyModules::ShinyModule
-> DarwinShinyModules::Database
-> DatabaseDBI
Active bindings
tables
(
list(n)
) List oftbl_dbi
tables for the respective driver.connectArgs
(
list(n)
) Named list of additional arguments used inDBI::dbConnect()
disconnectArgs
(
list(n)
) Named list of additional arguments used inDBI::dbDisconnect()
Methods
Method new()
Initializer method
Usage
DatabaseDBI$new(driver)
Arguments
driver
Driver to use to connect to the database with
DBI::dbConnect()
Method attachTables()
Method to attach tables from the database in the tables
field.
Arguments
...
(
character()
) Names of tables to attach.
Method detatchTables()
Method to detatch tables from the tables
field.
Arguments
...
(
character()
) Names of the tables to detatch.