This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Refines a query that skips to a specific record.
The skipTo()
function refines a LoyaltyCheckoutDiscountsQueryBuilder
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.
A pointer to specific record