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

    Interface QueryResult<T>

    Provider-agnostic query result payload.

    interface QueryResult<T = Record<string, unknown>> {
        error?: string;
        meta: QueryResultMeta;
        results: T[];
        success: boolean;
    }

    Type Parameters

    • T = Record<string, unknown>
    Index

    Properties

    error?: string

    Optional backend-specific error detail

    Execution metadata

    results: T[]

    Returned rows for the statement

    success: boolean

    Whether the statement executed successfully