Setu-TS
    Preparing search index...

    Interface FindOptions

    Options for IRepository.findAll.

    0.1.0

    interface FindOptions {
        cursor?: string;
        filter?: FilterExpression;
        limit?: number;
        offset?: number;
        orderBy?: Record<string, OrderDirection>;
        select?: readonly string[];
        where?: Record<string, unknown>;
    }
    Index
    cursor?: string

    A keyset cursor position, or undefined when the query starts at the first page. Carried alongside offset rather than replacing it: an offset says "skip this many from the start" and a cursor says "after this row", and the two are contradictory — a query carrying both is refused by name (UnsupportedQueryFeatureError).

    Portable filter expression conjoined with where.

    limit?: number

    Maximum number of results to return.

    offset?: number

    Number of results to skip.

    orderBy?: Record<string, OrderDirection>

    Field-to-direction sort specification.

    select?: readonly string[]

    Select only specific fields (projection).

    where?: Record<string, unknown>

    Filter conditions keyed by field name.