Description Usage Arguments Value
A convenience function which wraps dbGetQuery
, by default
providing some local caching. The function is deliberately lazy at the cost
of being unpredictable in edge-cases – if sql
resolves to a valid
file, it will be read in as a SQL statement, if it does not, the string will
be passed directly to the server as an SQL statement.
1 2 |
sql |
|
con |
A database connection. If unspecified, and there is a single database connection in the global environment, this will be used |
local_cache |
Should results be cached locally as |
cache_dir |
The directory in which to cache files |
gitignore |
Should the cache directory be |
verbose |
Should the function tell you how it's processing the strings
passed to |
The results of passing the SQL statement to dbGetQuery
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.