Entity
    Preparing search index...

    Interface StandardPaginationSpecification<TFields, TSelectedFields>

    Pagination specification for standard (non-search) pagination.

    interface StandardPaginationSpecification<
        TFields extends Record<string, any>,
        TSelectedFields extends keyof TFields = keyof TFields,
    > {
        orderBy: readonly EntityLoaderOrderByClause<TFields, TSelectedFields>[];
        strategy: STANDARD;
    }

    Type Parameters

    • TFields extends Record<string, any>
    • TSelectedFields extends keyof TFields = keyof TFields
    Index

    Order the entities by specified columns and orders. If the ID field is not included, it will be automatically added for stable pagination.

    strategy: STANDARD

    Standard pagination without search. Results are ordered by the specified orderBy fields.