DEV Community

Discussion on: 1 SQL Query You Should Stop Using

Collapse
 
calvintwr profile image
calvintwr

This is exactly right. More pertinently, ORMs should be providing this manner of pagination by default. The other reason is because if database rows are inserted inbetween queries, the pagination will start to overlap.

Collapse
 
abdisalan_js profile image
Abdisalan

Absolutely, this should be standard or at least an option in most ORMs!

Collapse
 
dmfay profile image
Dian Fay

Markus Winand maintains a "hall of fame" for data access tools which offer keyset pagination.

Thread Thread
 
abdisalan_js profile image
Abdisalan

That’s awesome! Thanks for sharing 🤩