Tiny improvement of examples.
Examples for limiting queries with and without a property argument are now better mixed. This makes it more clear that limiting and filtering by property are orthogonal concerns. Closes #3268 Original pull request #3269
This commit is contained in:
@@ -537,11 +537,11 @@ List<User> findByLastname(Limit limit);
|
||||
|
||||
User findFirstByOrderByLastnameAsc();
|
||||
|
||||
User findTopByOrderByAgeDesc();
|
||||
User findTopByLastnameOrderByAgeDesc(String lastname);
|
||||
|
||||
Page<User> queryFirst10ByLastname(String lastname, Pageable pageable);
|
||||
|
||||
Slice<User> findTop3ByLastname(String lastname, Pageable pageable);
|
||||
Slice<User> findTop3By(Pageable pageable);
|
||||
|
||||
List<User> findFirst10ByLastname(String lastname, Sort sort);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user