Skip parameter¶
The skip
parameter specifies how many items to omit from the beginning of the result set before returning data.
It is commonly used for pagination in combination with the limit
parameter.
Usage¶
In this example, the response skips the first item and returns the next one. The actual result depends on the sort
order. To ensure consistent results, combine skip
with a sort
clause.
Pagination¶
To retrieve additional pages of data, combine skip
with the limit
parameter. For example, use skip(10)
with limit(10)
to get the second page of results in a paginated list (items 11-20).