News for hackers. Stuff that matters.
Re:A minimalistic site to vent and see others doing the same... by andreareina on Wednesday January 27, 2021 @02:59AM (#25925499)
Sounds like you're using offset for pagination.

https://use-the-index-luke.com/no-offset

Re:A minimalistic site to vent and see others doing the same... by VentScape on Wednesday January 27, 2021 @04:23AM (#25926020)
A bit more explanation for you or any other helpful people reading, I'm using Spring's PagingAndSortingRepository.findAll(Pageable) function, and then passing in sort=id,desc&size=10 via the API request params (but no explicit offset AFAIK).

Found one potentially good stackoverflow to dig into so far https://stackoverflow.com/questions/44021665/why-is-a-pagina...