@pwngh/economy-lab
    Preparing search index...

    Interface PgPool

    The slice of a pg pool this engine calls, declared structurally so nothing here imports the driver's types. A real pg.Pool satisfies it, and so does any caller-built implementation handed in as PostgresStoreOptions.pool — see that option for what a replacement pool must provide (BigInt numeric parsing, and schema resolution when schemaName is used).

    interface PgPool {
        connect(): Promise<PgClient>;
        end(): Promise<void>;
        query(text: string, values?: readonly unknown[]): Promise<PgResult>;
    }
    Index
    • Parameters

      • text: string
      • Optionalvalues: readonly unknown[]

      Returns Promise<PgResult>