skip( )


Sets the number of items to skip before returning query results.

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

For example, if you query a collection and 50 items match your query, but you set skip to 10, the results returned will skip the first 10 items that match and return the 11th through 50th items.

By default, skip is set to 0.

Method Declaration
Copy
Method Parameters
skipnumberRequired

The number of items to skip in the query results before returning the results.

Was this helpful?
Yes
No