Skip to content

Function: resolvePostgresRole()

resolvePostgresRole(role?, environment?): string | undefined

Resolve and validate an explicit or environment-provided PostgreSQL role.

string

ProcessEnv = process.env

string | undefined