the result row type of the operation.
Get an AsyncIterableIterator for all the pages.
This function is useful for handling pages in an enhanced for loop e.g.
for await (const row: ReadonlyArray<DocsResultRow> of Pagination.newPagination(client, PagerType.POST_ALL_DOCS, allDocsParams).pages()){
...
}
an Iterable over all the pages
Get an AsyncIterableIterator for all the rows from all the pages.
This function is useful for handling rows in an enhanced for loop e.g.
for await (const row: DocsResultRow of Pagination.newPagination(client, PagerType.POST_ALL_DOCS, allDocsParams).rows()) {
...
}
an AsyncIterableIterator over all the result rows
Static
newGet a Pagination for the postAllDocs
operation.
The page size is configured with the limit parameter of the params.
PostAllDocsParams for the query
a DocsResultRow pager for all the documents in the database
Get a Pagination for the postPartitionAllDocs
operation.
The page size is configured with the limit parameter of the params.
PostPartitionAllDocsParams for the query
a DocsResultRow pager for all the documents in a database partition
Get a Pagination for the postDesignDocs
operation.
The page size is configured with the limit parameter of the params.
PostDesignDocsParams for the query
a DocsResultRow pager for all the design documents in a database
Get a Pagination for the postFind
operation.
The page size is configured with the limit parameter of the params.
PostFindParams for the query
a Document pager for the result of a find query
Get a Pagination for the postPartitionFind
operation.
The page size is configured with the limit parameter of the params.
PostPartitionFindParams for the query
a Document pager for the result of a partition find query
Get a Pagination for the postSearch
operation.
The page size is configured with the limit parameter of the params.
PostSearchParams for the query
a SearchResultRow pager for the result of a search query
Get a Pagination for the postPartitionSearch
operation.
The page size is configured with the limit parameter of the params.
PostPartitionSearchParams for the query
a SearchResultRow pager for the result of a partition search query
Get a Pagination for the postView
operation.
The page size is configured with the limit parameter of the params.
PostViewParams for the query
a ViewResultRow pager for the result of a view query
Get a Pagination for the postPartitionView
operation.
The page size is configured with the limit parameter of the params.
PostPartitionViewParams for the query
a ViewResultRow pager for the result of a partition view query
Pagination is the entry point for pagination features.
Use the static methods to create new Pagination instances. The instances in turn can be used to create: