4 ms·
> So cursor pagination is just keyset pagination, except instead of using a column value directly you use an opaque string that gets translated back to a column
by richbell 4y ago
> So cursor pagination is just keyset pagination, except instead of using a column value directly you use an opaque string that gets translated back to a column value.
HashIds is a popular solution if those columns are numerical or can be represented numerically (e.g. timestamp).
https://hashids.org/ https://hashids.org/
- bmn__ 4y agoCompare with: <https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format#page-4 https://datatracker.ietf.org/doc/html/draft-peabody-dispatch...>