feat: Update dataRepository findByAuthor method name

The `findByAutor` method in the `dataRepository` interface has been renamed to `findByAuthor` to align with the naming convention. This change improves code readability and consistency.
This commit is contained in:
Erik Foris 2024-06-17 15:22:12 +02:00
parent b607b4a109
commit bad9855dce

View File

@ -11,10 +11,10 @@ public interface dataRepository extends JpaRepository<Dataset, UUID>{
List<Dataset> findByTitleLike(String title);
List<Dataset> findByAuthorLike(String author);
List<Dataset> findByType(Type type);
List<Dataset> findByAutor(String author);
List<Dataset> findByAuthor(String author);
List<Dataset> findByAbstLike(String abst);
List<Dataset> findByDescriptionLike(String description);
List<Dataset> findByCategoriesContainingIgnoreCase(String[] categories);
//List<Dataset> findByCategoriesContainingIgnoreCase(String[] categories);
List<Dataset> findByRaitingGreaterThan(float raiting);
List<Dataset> findByVotesGreaterThan(int votes);
List<Dataset> findByDateAfter(Date date);