DATAES-597- Fix code formatting in readme.

Original PR: #111
This commit is contained in:
Johnny Lim 2019-06-19 17:03:53 +09:00 committed by Peter-Josef Meisch
parent 159489c7da
commit 9a6172b4fe

View File

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