View source: R/lazy_conn_all_tables.R
lazy_conn_all_tables | R Documentation |
Create lazy connections to all tables in a schema as separate variables
lazy_conn_all_tables(
pool_conn,
schemaname = "public",
table_types = c("BASE TABLE", "FOREIGN", "VIEW", "LOCAL TEMPORARY"),
prefix = "",
env = globalenv()
)
pool_conn |
A pool connection to a PostgreSQL database |
schemaname |
The schema from which to get the tables. Default is public |
table_types |
The types of tables to connect to. Default is base tables, foreign tables, views and local temporary tables |
prefix |
String to prefix the variables with |
env |
The environment in which to create the variables. Default is global environment |
Variables for lazy connections to each of the tables in the environment specified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.