dbGetCurrentuserEM: PostgreSQL Current User

Description Usage Arguments Value Examples

Description

Get PostgreSQL CURRENT_USER.

Usage

1
dbGetCurrentUserEM(connName, env, exec = TRUE, display = 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".

exec

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

display

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

Value

Current user

Examples

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

## End(Not run)

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