R/expose.R
osq_expose_tables.RdThis 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.
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()).