drupflare/worker - v1.0.4
    Preparing search index...

    Type Alias PgClient

    the client, as a seam: the gate drives this over a stub rather than opening a socket

    type PgClient = {
        connect(): Promise<void>;
        end(): Promise<void>;
        query(
            text: string,
            values?: unknown[],
        ): Promise<{ rowCount: number | null; rows: Record<string, unknown>[] }>;
    }
    Index
    • Parameters

      • text: string
      • Optionalvalues: unknown[]

      Returns Promise<{ rowCount: number | null; rows: Record<string, unknown>[] }>