@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Function paginate

    • Appends a start-at and a limit block to the query to retrieve a portion of the request

      Parameters

      • block: ICanPrecedeStartAt

        Block after which you want to paginate

      • pageLength: number

        Length of the page

      • pageIndex: number

        Index of the page

      Returns LimitBlock