@Skip and @Limit¶
Command method param extension
Annotates pagination parameters (of course, may be used separately).
@Query("select from Model")
List<Model> getAll(@Skip int skip, @Limit int limit);
Parameter type may be any Number
type (Integer,
Long` etc)
See bundled Pagination mixin as usage example.