Description Usage Arguments Details See Also Examples
Wrapper functions to implement caching for the sqlQuery
function using RDS-files.
1 | sqlQuery.cached(rds, channel, query, ...)
|
rds |
The name of the file in which the cache is to be stored. |
channel |
Connection handle as returned by |
query |
Any valid SQL statement. |
... |
Additional arguments to be passed to |
If the rds
file exists, the object will be loaded from the rds
.
Otherwise the query
will be sent to the ODBC database via the\
channel
, and an rds
of the returned object will be saved.
do.call.cached
which is the wrapper function that performs the caching.
sqlQuery
which is called to submit the query
to an ODBC database, and retrieve the results.
1 | sqlQuery.cached(dbHandle, "SELECT COUNT(*) FROM CUSTOMERS")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.