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 Type
    Method
    Description
    int
     
    void
     

    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

      @Modifying @Transactional void deleteByProjectId(UUID projectId)