Skip to main content

Super Publication Test

Pagination

Pagination can be performed using skip and take parameters. However, skip/take pagination has some disadvantages :

  1. 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

  2. skip is limited to 1000 elements, because the operation is rather expensive

Alternatively, some resources provide cursor-based pagination, e.g.

https://app.billwerk.com/api/v1/contracts/?from=50f6b3d7eb596a1268f5651e

These cursors are stable and much faster than skips.