Interface ArticlesRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Articles,
,Long> org.springframework.data.repository.Repository<Articles,
Long>
@Repository
public interface ArticlesRepository
extends org.springframework.data.repository.CrudRepository<Articles,Long>
The ArticlesRepository is a repository for Articles entities.
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByEmail
(String email) This method returns all Articles entities with a given email.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
findAllByEmail
This method returns all Articles entities with a given email.- Parameters:
email
- quarter in the format YYYYQ (e.g. 20241 for Winter 2024, 20242 for Spring 2024, 20243 for Summer 2024, 20244 for Fall 2024)- Returns:
- all Articles entities with a given email
-