지금 infinite scroll 이랑 where문 써서(offset 쓰지 말라더라;

https://ivopereira.net/efficient-pagination-dont-use-offset-limit

Why You Shouldn't Use OFFSET and LIMIT For Your PaginationGone are the days when we wouldn’t need to worry about database performance optimization.ivopereira.net


)

pagination 구상 중인데


현 페이지가 맨 마지막 페이지인지 체크하는 방법 없을까?


페이지 당 10개씩 나타낸다 가정할 경우, 조회 결과 10개 미만일 경우 마지막 페이지로 지정하려 했는데

이럴 경우 마지막 페이지가 10개씩 나타낼 경우 불가능 하더라고