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

    Interface DrizzleClientLike

    Minimal Drizzle database contract used by the SQL adapter.

    interface DrizzleClientLike {
        all?: (query: any) => any;
        execute?: (query: any) => any;
        get?: (query: any) => any;
        run?: (query: any) => any;
        transaction?: <T>(
            callback: (tx: DrizzleClientLike) => Promise<T>,
        ) => Promise<T>;
    }
    Index
    all?: (query: any) => any
    execute?: (query: any) => any
    get?: (query: any) => any
    run?: (query: any) => any
    transaction?: <T>(callback: (tx: DrizzleClientLike) => Promise<T>) => Promise<T>

    Drizzle's own transaction API, present on the node-postgres, mysql2 and SQLite drivers. Where it exists, Drizzle pins the connection and issues the transaction control itself, which is the guarantee a batch needs.

    1.4.0