View Full Version : Paging with spring-data-mongodb
Jan 29th, 2012, 11:16 AM
Whether there is support pagination?
Jan 30th, 2012, 02:18 AM
Feb 29th, 2012, 03:54 AM
you can sort and paged simultaneously using the repository? I can not find examples that can help me.
Mar 1st, 2012, 03:14 AM
I find this with mongotemplate:
Page<Track> tracks = trackrepository.findAll(new PageRequest(p,20,Sort.Direction.DESC,"date"));
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.