Postgres DBI resource connector
Postgres DBI resource connector
Details
Makes a Postgres DBI connection from a resource description.
Methods
Inherited methods
Method new()
Creates a new PostgresResourceConnector instance.
Returns
A PostgresResourceConnector object.
Method isFor()
Check that the provided resource has a URL that locates a Postgres object: the URL scheme must be "postgres" or "postgresql".
Usage
PostgresResourceConnector$isFor(resource)
Arguments
resource
The resource object to validate.
Method createDBIConnection()
Creates a DBI connection object from a resource.
Usage
PostgresResourceConnector$createDBIConnection(resource)
Arguments
resource
A valid resource object.
Returns
A DBI connection object.
Method clone()
The objects of this class are cloneable with this method.
Usage
PostgresResourceConnector$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.