Skip to contents

This class is a decorator and is not meant to be directly used, but to be inherited by other modules, like DatabaseDBC and DatabaseDBI.

Details

The inherited Database modules have their own implementation to connect to, and query the database.

To add a new database type it is required to inherit from the Database class, to override the private connect() and disconnect() methods, and to extend it with functionality to query the database.

DatabaseDBC extends this class with the public query() and execute() methods, while DatabaseDBI extends it with the attachTables() and detatchTables() methods, and the public tables field.

Super class

DarwinShinyModules::ShinyModule -> Database

Active bindings

connected

(logical(1)) Logical if connected to the database.

Methods

Public methods

Inherited methods


Method clone()

The objects of this class are cloneable with this method.

Usage

Database$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.