• Sets up a PostgreSQL pool for the login user. The login pool is internally used by postgraphile to access the database via GraphQL API endpoints.

    Parameters

    • connectionString: string

      full database connection string

    • logger: DbLogger

      logger to log errors and shutdown action messages

    • shutdownActions: DbShutdownActions

      shutdown actions middleware

    • Optional poolConfig: PoolConfig

      optional pool configuration object

    Returns LoginPgPool

Generated using TypeDoc