3 ms·
This is pretty slick. I may check it out in the future. Offset pagination is a pain, especially with Postgres. I wrote a proof of concept for cursor pagination
by ezekg 4y ago
This is pretty slick. I may check it out in the future. Offset pagination is a pain, especially with Postgres. I wrote a proof of concept for cursor pagination [0] for Rails apps that use UUID primary keys, but have yet to implement it or something like it.
[0]: https://gist.github.com/ezekg/5ff5e965410885501198235d6a779ceb https://gist.github.com/ezekg/5ff5e965410885501198235d6a779c...