OpenWGA 7.7 - TMLScript reference
CollectionResultMethod :
getPage([offset,] size)
On object | CollectionResult |
Usage | Returns a page of result documents |
Description | This returns a CollectionPage containing a list of result documents from the collection. |
Parameters |
offset (Number): The index of the first result document to return in the query result. 1 is the very first document. Omitting will assume an offset of 1. size (Number): Number of documents to return in the page at maximum. The actual returned size may be lower if less documents are available. |
Return value | A CollectionPage |
Allowed in script types |
|