3 ms·
You can still support arbitrary filters and ordering, as long as you always sort by the ID last. The nice thing is the queries actually get more and more effici
by i_s 9y ago
You can still support arbitrary filters and ordering, as long as you always sort by the ID last. The nice thing is the queries actually get more and more efficient as you approach the last page. (The normal approaches have the same cost across all pages, or even get more expensive toward the latter pages.)
The only thing this approach does not support is jumping to an arbitrary page number.