committed by
Peter-Josef Meisch
parent
159489c7da
commit
9a6172b4fe
@@ -110,13 +110,13 @@ For a detailed information about Spring Data, repositories and the supported que
|
||||
|
||||
List<Book> findByNameOrPrice(String name, Integer price);
|
||||
|
||||
Page<Book> findByName(String name,Pageable page);
|
||||
Page<Book> findByName(String name, Pageable page);
|
||||
|
||||
Page<Book> findByNameNot(String name,Pageable page);
|
||||
Page<Book> findByNameNot(String name, Pageable page);
|
||||
|
||||
Page<Book> findByPriceBetween(int price,Pageable page);
|
||||
Page<Book> findByPriceBetween(int fromPrice, int toPrice, Pageable page);
|
||||
|
||||
Page<Book> findByNameLike(String name,Pageable page);
|
||||
Page<Book> findByNameLike(String name, Pageable page);
|
||||
|
||||
@Query("{\"bool\" : {\"must\" : {\"term\" : {\"message\" : \"?0\"}}}}")
|
||||
Page<Book> findByMessage(String message, Pageable pageable);
|
||||
|
||||
Reference in New Issue
Block a user