Libraries
    Preparing search index...

    Interface CursorPaginationResult<T>

    Result of cursor-based pagination via SchemaQueryBuilder.paginateAfter.

    interface CursorPaginationResult<T> {
        data: T[];
        hasMore: boolean;
        nextCursor: string | null;
    }

    Type Parameters

    • T
    Index

    Properties

    data: T[]

    The rows for the current page.

    hasMore: boolean

    Whether more rows exist after this page.

    nextCursor: string | null

    Cursor value for the next page, or null if no more rows.