Interface QuestionLikeJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<QuestionLike,
,QuestionLikeId> org.springframework.data.jpa.repository.JpaRepository<QuestionLike,
,QuestionLikeId> org.springframework.data.repository.ListCrudRepository<QuestionLike,
,QuestionLikeId> org.springframework.data.repository.ListPagingAndSortingRepository<QuestionLike,
,QuestionLikeId> org.springframework.data.repository.PagingAndSortingRepository<QuestionLike,
,QuestionLikeId> org.springframework.data.repository.query.QueryByExampleExecutor<QuestionLike>
,org.springframework.data.repository.Repository<QuestionLike,
QuestionLikeId>
public interface QuestionLikeJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<QuestionLike,QuestionLikeId>
QuestionLikeJpaRepository는 QuestionLike 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByUserAndQuestion
(User user, Question question) boolean
existsByUserAndQuestion
(User user, Question question) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
existsByUserAndQuestion
-
deleteByUserAndQuestion
-