Sets up a PostgreSQL pool for the environment owner. The environment owner cannot bypass Row Level Security and database requests will only operate on specific tenant and environment rows.
full database connection string
logger to log errors and shutdown action messages
shutdown actions middleware
Optional
optional pool configuration object
Generated using TypeDoc
Sets up a PostgreSQL pool for the environment owner. The environment owner cannot bypass Row Level Security and database requests will only operate on specific tenant and environment rows.