Description Usage Arguments Details
This is intended as a shortcut for building a connection and wiring up to src_dbi()
.
Exposing all of the tables is not recommended unless you're performing a large number
of diverse queries.
1 2 3 4 5 | osq_expose_tables(tables = ".*", prefix = NULL, host = NULL,
keyfile = NULL, quiet = TRUE)
osq_load_tables(tables = ".*", prefix = NULL, host = NULL,
keyfile = NULL, quiet = TRUE)
|
tables |
defaults to |
prefix |
if not |
host, keyfile |
same as for |
quiet |
if |
tables |
defaults to |
prefix |
if not |
host, keyfile |
same as for |
quiet |
if |
osq_load_tables()
is a tad safer than osq_expose_tables()
since it does not
pollute the global environment and you can use a variable name for host
identification vs a prefix (though prefixes are still supported in osq_load_tables()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.