open_conn: Open a Connection in the 'pg13_connection_env'

Description Usage Arguments See Also

View source: R/conn-env.R

Description

Connect to a database and assign it to the pg13_connection_env. This is a method to keep mulitple database connections organized during a crosswalk project. Existing connection objects will not be overwritten If the connection object of the provided name already exists. If the pg13_connection_env does not exist in the Global Environment, it will also be created at this point beforehand.

Usage

1
open_conn(conn_fun, conn_name, verbose = TRUE)

Arguments

conn_fun

Function call for the connection as a character string such as "local_connect()".

conn_name

Name of the connection object in the pg13_connection_env environment

See Also

c("typewrite", "typewrite"),italicize parse_expr

Other pg13 environment functions: [[<-,pg_env,character,missing,ANY-method, close_conn(), pg_env-class, see_conn()

Other pg13 class connection functions: close_conn(), see_conn()


patelm9/pg13 documentation built on Dec. 26, 2021, 8:17 p.m.