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;
        first: number;
        pagination: PaginationSpecification<TFields, TSelectedFields>;
        where?: SQLFragment;
    }

    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.

    first: number

    The number of entities to return starting from the entity after 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.