Mongodb – Use limit and skip in MongoRepository<Customer,String>
We are working on a project to get data from mongoDB. We have created repository class as below @Repository public interface CustomerRepository extends MongoRepository<Customer,String>{ List<Customer> customers = findByCustomerId(final String customerId); } We are looking to add skip/offset and limit parameters…