tls-devicer
    Preparing search index...

    Interface PgPoolLike

    Minimal subset of the pg Pool/Client API used by this adapter. Pass a pg.Pool or pg.Client instance — both satisfy this interface.

    interface PgPoolLike {
        query(
            text: string,
            values?: unknown[],
        ): Promise<{ rows: Record<string, unknown>[] }>;
    }
    Index

    Methods

    Methods

    • Parameters

      • text: string
      • Optionalvalues: unknown[]

      Returns Promise<{ rows: Record<string, unknown>[] }>