kysely
    Preparing search index...

    Interface PostgresClient

    This interface is the subset of pg driver's Client class that kysely needs.

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

    https://node-postgres.com/apis/client

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

    Properties

    Methods

    Properties

    processID?: number

    Methods