• Sets up a PostgreSQL pool for the owner to be reused by other app components. The owner pool has full access to the database.

    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 OwnerPgPool

Generated using TypeDoc