Entity
    Preparing search index...

    Interface EntityLoaderForwardUnifiedPaginationArgs<TFields, TSelectedFields>

    Forward unified pagination arguments

    interface EntityLoaderForwardUnifiedPaginationArgs<
        TFields extends Record<string, any>,
        TSelectedFields extends keyof TFields = keyof TFields,
    > {
        after?: string;
        before?: undefined;
        first: number;
        last?: undefined;
        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?: string

    The cursor to paginate after for forward pagination.

    before?: undefined

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

    first: number

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

    last?: undefined

    The number of entities to return starting from the entity before the cursor. Must be a positive integer. Not allowed with forward pagination.

    Pagination specification determining how to order and paginate results.

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