Sets up a PostgreSQL pool for the login user to be reused by other app components. The login pool is internally used by postgraphile to access the database via GraphQL API endpoints.
express app
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 login user to be reused by other app components. The login pool is internally used by postgraphile to access the database via GraphQL API endpoints.