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,
    > {
        after?: undefined;
        before?: string;
        first?: undefined;
        last: number;
        pagination: PaginationSpecification<TFields, TSelectedFields>;
        where?: SQLFragment<Pick<TFields, TSelectedFields>>;
    }

    Type Parameters

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

    Hierarchy

    Index

    Properties

    after?: undefined

    The cursor to paginate after for forward pagination. Not allowed with backward pagination.

    before?: string

    The cursor to paginate before for backward pagination.

    first?: undefined

    The number of entities to return starting from the entity after the cursor. Must be a positive integer. Not allowed with 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.

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