Interface followingRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<followingModel,,String> org.springframework.data.jpa.repository.JpaRepository<followingModel,,String> org.springframework.data.repository.ListCrudRepository<followingModel,,String> org.springframework.data.repository.ListPagingAndSortingRepository<followingModel,,String> org.springframework.data.repository.PagingAndSortingRepository<followingModel,,String> org.springframework.data.repository.query.QueryByExampleExecutor<followingModel>,org.springframework.data.repository.Repository<followingModel,String>
@Repository
public interface followingRepository
extends org.springframework.data.jpa.repository.JpaRepository<followingModel,String>
The interface Following repository.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllByAccountId(String streamerId) Delete all by account id.existsByStreamerId(String StreamId) Exists by streamer id boolean.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
existsByStreamerId
-
deleteAllByAccountId
Delete all by account id.- Parameters:
streamerId- the streamer id
-