Open mshannongit opened 1 month ago
At the moment, it seems the only way to supply a dynamic parameterized limit value is by using a customized @Query
@Query(value = "SELECT * FROM books b WHERE b.title LIKE :title LIMIT :limit) List findBooks(String title, int limit);
It would be good if a dynamic limit value could be inferred based on method name
List findTopNBooksByTitle(String title, int limit);
Feature description
At the moment, it seems the only way to supply a dynamic parameterized limit value is by using a customized @Query
@Query(value = "SELECT * FROM books b WHERE b.title LIKE :title LIMIT :limit) List findBooks(String title, int limit);
It would be good if a dynamic limit value could be inferred based on method name
List findTopNBooksByTitle(String title, int limit);