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:
Jens Schauder
2025-04-15 10:11:17 +02:00
parent 06c36102a3
commit 8fbf2c3fdc

View File

@@ -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);