@earth-app/collegedb
    Preparing search index...

    Interface PostgresClientLike

    Minimal PostgreSQL client contract used by the SQL adapter.

    interface PostgresClientLike {
        query<T = Record<string, unknown>>(
            sql: string,
            bindings?: any[],
        ): Promise<PostgresQueryResult<T>>;
    }
    Index

    Methods

    Methods

    • Type Parameters

      • T = Record<string, unknown>

      Parameters

      • sql: string
      • Optionalbindings: any[]

      Returns Promise<PostgresQueryResult<T>>