Back to Developer Roadmap

$skip

src/data/roadmaps/mongodb/content/skip@4CjjGPOy-385Bco_PeQwa.md

4.0632 B
Original Source

$skip

The $skip aggregation stage skips a specified number of documents before passing the remaining documents to the next pipeline stage. It's commonly used with $limit for pagination implementation, allowing applications to skip previous pages and retrieve specific result sets. $skip should be used carefully with large skip values as it can impact performance.

Visit the following resources to learn more: