build_connection: Helper function to build the connection.

Description Usage Arguments Value

View source: R/db.R

Description

Helper function to build the connection.

Usage

1
build_connection(con, env)

Arguments

con

connection. Could be characters of yaml file path with optional environment, or a function passed by user to establish the connection, or a database connetion object.

env

character. What environment to use when 'con' is a the yaml file path.

Value

a list of database connection and if it can be re-established.


avantcredit/dbtest documentation built on June 24, 2018, 9:30 p.m.