PostgresResourceConnector | R Documentation |
Postgres DBI resource connector
Postgres DBI resource connector
A R6 object of class PostgresResourceConnector
Makes a Postgres DBI connection from a resource description.
resourcer::DBIResourceConnector
-> PostgresResourceConnector
new()
Creates a new PostgresResourceConnector instance.
PostgresResourceConnector$new()
A PostgresResourceConnector object.
isFor()
Check that the provided resource has a URL that locates a Postgres object: the URL scheme must be "postgres" or "postgresql".
PostgresResourceConnector$isFor(resource)
resource
The resource object to validate.
A logical.
createDBIConnection()
Creates a DBI connection object from a resource.
PostgresResourceConnector$createDBIConnection(resource)
resource
A valid resource object.
A DBI connection object.
clone()
The objects of this class are cloneable with this method.
PostgresResourceConnector$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.