kysely
    Preparing search index...

    Interface PostgresPoolClient

    This interface is the subset of pg driver's Client class that is returned by the Pool class, and that kysely needs.

    We don't use the type from pg here to not have a dependency to it.

    https://node-postgres.com/apis/pool#releasing-clients

    interface PostgresPoolClient {
        processID?: number;
        query<R>(
            sql: string,
            parameters: readonly unknown[],
        ): Promise<PostgresQueryResult<R>>;
        query<R>(cursor: PostgresCursor<R>): PostgresCursor<R>;
        release(): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    processID?: number

    Methods