dbLogoutEM: Disconnect from the econModel database

Description Usage Arguments Value Examples

View source: R/AmerAssocIndividInvestorsAAII.R

Description

Disconnect and remove the DBI connection object connName (default is "connEM") from the environment "env".

Usage

1
dbLogoutEM(connName, env)

Arguments

connName

String. Name of the database connection object. Optional. This may be "passed" instead of "conn".

env

Environment. Default is the global environment .GlobalEnv. Location of the connection object "connName".

Value

Disconnects "connEM" from the database or disconnects "connName" from the database and removes it from the environment "env".

Examples

1
2
3
4
## Not run: 
dbLogoutEM() # default is connection variable "connEM" in the .GlobalEnv

## End(Not run)

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