Interface ProjectFileRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ProjectFile,UUID>, org.springframework.data.repository.Repository<ProjectFile,UUID>

@Repository public interface ProjectFileRepository extends org.springframework.data.repository.CrudRepository<ProjectFile,UUID>
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
  • Method Details

    • findAllByProjectId

      @Query(value="SELECT p.gridfs_object_id FROM project_file p WHERE p.project_id = :projectId", nativeQuery=true) List<String> findAllByProjectId(UUID projectId)