skip( )


Sets the number of items or groups to skip before returning aggregation results.

The skip() function defines the number of results to skip in the aggregation results before returning new aggregation results.

For example, if you perform an aggregation on a collection and 10 groups match your aggregation, but you set skip to 3, the results returned will skip the first 3 groups that match and return the 4th through 10th items.

By default, skip is set to 0.

Note: Aggregations can only be used on collections you have created. They cannot be used on Wix App Collections.

Method Declaration
Copy
Method Parameters
skipnumberRequired

The number of items or groups to skip in the aggregation results before returning the results.

Was this helpful?
Yes
No