Pagination can be performed using
take parameters. However, skip/take pagination has some disadvantages:
- These are not stable cursors: if new elements are added in the mean time, the second page will contain elements that were present on the first page before
skipis limited to 1000 elements, because the operation is rather expensive
Alternatively, some resources provide cursor-based pagination, e.g.
These cursors are stable and much faster than skips.