Entity
    Preparing search index...

    Interface EntityLoaderBackwardUnifiedPaginationArgs<TFields, TSelectedFields>

    Backward unified pagination arguments

    interface EntityLoaderBackwardUnifiedPaginationArgs<
        TFields extends Record<string, any>,
        TSelectedFields extends keyof TFields = keyof TFields,
    > {
        before?: string;
        last: number;
        pagination: PaginationSpecification<TFields, TSelectedFields>;
        where?: SQLFragment;
    }

    Type Parameters

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

    Hierarchy

    Index

    Properties

    before?: string

    The cursor to paginate before for backward pagination.

    last: number

    The number of entities to return starting from the entity before the cursor. Must be a positive integer.

    Pagination specification determining how to order and paginate results.

    where?: SQLFragment

    SQLFragment representing the WHERE clause to filter the entities being paginated.