| SQLFlexClient | R Documentation |
SQL database resource client
SQL database resource client
A R6 object of class SQLFlexClient
Resource client that connects to a SQL database supported by DBI
resourcer::ResourceClient -> SQLFlexClient
new()Creates a SQLFlexClient from a resource.
SQLFlexClient$new(resource, dbi.connector = NULL)
resourceThe resource object.
dbi.connectorAn optional DBIResourceConnector object. If not provided, it will be looked up in the DBIResourceConnector registry.
The SQLResourceClient object.
getConnection()Get or create the DBI connection object that will access the resource.
SQLFlexClient$getConnection()
The DBI connection object.
readQuery()Execute a query in the database and retrieve the results.
SQLFlexClient$readQuery(sqltext, params = NULL)
sqltexta character, the query text
paramsAdditional parameters to dbGetQuery.
A data.frame
close()Silently close the DBI connection.
SQLFlexClient$close()
clone()The objects of this class are cloneable with this method.
SQLFlexClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.