Create lazy connections to all tables in a schema as separate variables

lazy_conn_all_tables(
  pool_conn,
  schemaname = "public",
  prefix = "",
  env = globalenv()
)

Arguments

pool_conn

A pool connection to a PostgreSQL database

schemaname

The schema from which to get the tables. Default is public

prefix

String to prefix the variables with

env

The environment in which to create the variables. Default is global environment

Value

Variables for lazy connections to each of the tables in the environment specified