Hacker News new | ask | show | jobs
by andreareina 1964 days ago
Sounds like you're using offset for pagination.

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

1 comments

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...