Package org.qubership.atp.mia.repo.db
Interface RecordingSessionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PotSession,,UUID> org.springframework.data.repository.Repository<PotSession,UUID>
public interface RecordingSessionRepository
extends org.springframework.data.repository.CrudRepository<PotSession,UUID>
-
Method Summary
Modifier and TypeMethodDescriptionintdeleteByCreatedAtBefore(Timestamp createdAt) voiddeleteByProjectId(UUID projectId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
-
Method Details
-
deleteByCreatedAtBefore
@Modifying @Transactional @Query("DELETE FROM PotSession p WHERE p.createdAt < :createdAt") int deleteByCreatedAtBefore(@Param("createdAt") Timestamp createdAt) -
deleteByProjectId
-