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 TypeMethodDescriptionfindAllByTitle(String title) This method returns all Articles entities with a given title.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
findAllByTitle
This method returns all Articles entities with a given title.- Parameters:
title- the title of the articles to find- Returns:
- all Articles entities with the given title
-