skipTo( )


Refines a query that skips to a specific record.

The skipTo() function refines a TicketDefinitionsQueryBuilder to return items that appear before or after the item pointed to by the provided cursor. Get the relevant cursor for a specific item from the cursors object in previous call's response. Then you can skip to cursors.prev to return items before the cursor, or cursors.next to return items after the cursor.

When using skipTo(), the filters and the sorting order of the original query can't be changed. Only the limit() property of the query can be changed.

Method Declaration
Copy
Method Parameters
cursorstring

A pointer to specific record

Was this helpful?
Yes
No