4 ms·
I have written about this as well[1] and even built a Github PoC about it comparing both approaches regarding speed[2] but one of the main flaws is the lack of
by ivoecpereira 6y ago
I have written about this as well[1] and even built a Github PoC about it comparing both approaches regarding speed[2] but one of the main flaws is the lack of a deeper consideration for sorting and filtering examples and impact demonstration. Will look into adding more detail about that in an addendum.
[1] https://medium.com/swlh/why-you-shouldnt-use-offset-and-limit-for-your-pagination-4440e421ba87?source=friends_link&sk=2dafef5c1fb698e2f7884bf5e8149b37 https://medium.com/swlh/why-you-shouldnt-use-offset-and-limi...
[2] https://github.com/IvoPereira/Efficient-Pagination-SQL-PoC https://github.com/IvoPereira/Efficient-Pagination-SQL-PoC