@wxn0brp/db-core
    Preparing search index...

    Interface DbFindOpts<T>

    interface DbFindOpts<T = any> {
        avg?: Record<string, KeysMatching<T, number>>;
        count?: Record<string, string>;
        distinct?: KeysMatching<T, any>;
        groupBy?: KeysMatching<T, any> | KeysMatching<T, any>[];
        limit?: number;
        max?: Record<string, KeysMatching<T, number>>;
        min?: Record<string, KeysMatching<T, number>>;
        offset?: number;
        reverse?: boolean;
        sortAsc?: boolean;
        sortBy?:
            | KeysMatching<T, any>
            | { asc?: boolean; field: KeysMatching<T, any> }[];
        sum?: Record<string, KeysMatching<T, number>>;
    }

    Type Parameters

    • T = any
    Index
    avg?: Record<string, KeysMatching<T, number>>
    count?: Record<string, string>
    distinct?: KeysMatching<T, any>
    groupBy?: KeysMatching<T, any> | KeysMatching<T, any>[]
    limit?: number
    max?: Record<string, KeysMatching<T, number>>
    min?: Record<string, KeysMatching<T, number>>
    offset?: number
    reverse?: boolean
    sortAsc?: boolean
    sortBy?: KeysMatching<T, any> | { asc?: boolean; field: KeysMatching<T, any> }[]
    sum?: Record<string, KeysMatching<T, number>>