Hi,
I am newbie in spring + mongodb,
I want to know how to use with Pageable pageable,
I did function like this :
and I call it with :Code:public Page<Domain> findByIp(String ip, Pageable pageable);
but if I call withCode:List<Domain> page = repository.findByProjectId("1", new PageRequest(0, 100));
there are the same results ...Code:List<Domain> page = repository.findByProjectId("1", new PageRequest(1, 100));
So how to use it ? Can it support pagination ?
Tnx.


Reply With Quote
