@ibm-cloud/cloudant - v0.12.5
    Preparing search index...

    Interface Pager<I>

    Interface for pagination of database operations.

    Use the static methods to instantiate a Pager instance for the required operation.

    interface Pager<I> {
        getAll(): Promise<readonly I[]>;
        getNext(): Promise<readonly I[]>;
        hasNext(): boolean;
    }

    Type Parameters

    • I

      the item type of the page rows.

    Index

    Methods