bullmq - v6.0.3
    Preparing search index...

    Interface PgPool

    Structural subset of a pg.Pool. A real pg.Pool is assignable to this.

    interface PgPool {
        connect(): Promise<PgPoolClient>;
        end(): Promise<void>;
        on(event: "error", listener: (err: Error) => void): this;
        on(event: "connect", listener: (client: PgPoolClient) => void): this;
        query<R = any>(
            text: string,
            params?: readonly unknown[],
        ): Promise<PgQueryResult<R>>;
        removeAllListeners(event?: string): this;
    }

    Hierarchy (View Summary)

    Index
    • Parameters

      • Optionalevent: string

      Returns this