Cloesce - v0.3.0
    Preparing search index...

    Interface Paginated<T>

    The result of a paginated query to Workers KV or R2.

    interface Paginated<T> {
        complete: boolean;
        cursor: string | null;
        results: T[];
    }

    Type Parameters

    • T
    Index

    Properties

    complete: boolean

    Whether the pagination query is complete, meaning there are no more results to paginate through. This is true if cursor is null, and false otherwise.

    cursor: string | null

    A cursor to be used in the next pagination query. Will be null if there are no more results to paginate through.

    results: T[]

    The results of the pagination query. A maximum of 1000 results will be returned, but may be less.