Mongodb – Is it posible to use only one call to database when pagination in Java?
If the pagesize is 10 and pageNumber is 0, for the given condition, if I I get 50 documents from mongodb, then total_documents should be 50 and msList should have the details of 1st 10 documents(DTO's)(since the pageNumber is 0…