dbIsConnectedEM: Test The RPostgreSQL Connection

Description Usage Arguments Value Examples

View source: R/AmerAssocIndividInvestorsAAII.R

Description

Is the connection not expired or not valid?

Usage

1
dbIsConnectedEM(connName, env, display = TRUE, exec = TRUE)

Arguments

connName

String. Default is "connEM". Contains the name of the variable that contains the name of the "connection" in the environment "env".

env

Environment. Default is the .Global environment. This is the environment to return the connection object "connEM".

display

Logical. Whether to display the query (defaults to TRUE).

exec

Logical. Whether to execute the query (defaults to TRUE).

Value

TRUE(connected) or FALSE(otherwise)

Examples

1
2
3
4
## Not run: 
dbIsConnectedEM()

## End(Not run)

AndreMikulec/econModel documentation built on June 30, 2021, 9:48 a.m.