MongoDB card reviewmedium
What is pagination in MongoDB?
Pagination divides large query results into smaller pages. MongoDB commonly uses skip() and limit() methods for pagination. For very large datasets, cursor-based pagination is preferred because it provides better performance than large skips.