Interface UserCommonsRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserCommons,
,Long> org.springframework.data.repository.Repository<UserCommons,
Long>
@Repository
public interface UserCommonsRepository
extends org.springframework.data.repository.CrudRepository<UserCommons,Long>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByCommonsId
(Long commonsId) findByCommonsId
(Long commonsId) findByCommonsIdAndUserId
(Long commonsId, Long userId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
findByCommonsIdAndUserId
-
findByCommonsId
-
deleteAllByCommonsId
-