Friends!
I am using MongoDB in java project via spring-data. I use Repository interfaces to access data in collections. For some processing I need to iterate over all el
Another way:
do{ page = repository.findAll(new PageRequest(pageNumber, pageLimit)); pageNumber++; }while (!page.isLastPage());