Ignore:
Timestamp:
01/09/21 03:04:38 (4 years ago)
Author:
Vzdra <vladko.zdravkovski@…>
Branches:
master
Children:
a3d2b0d
Parents:
297bd16
Message:

added full text search on work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/repository/ProjectRepository.java

    r297bd16 rf067338  
    11package it.finki.tinki.repository;
    22
     3import it.finki.tinki.model.Skill;
     4import it.finki.tinki.model.Work.Job;
    35import it.finki.tinki.model.Work.Project;
    46import org.springframework.data.jpa.repository.JpaRepository;
     
    1012public interface ProjectRepository extends JpaRepository<Project, Long> {
    1113    List<Project> findAllByAccount_Id(Long accountId);
     14    List<Project> findAllByTitleContainsOrDescriptionContains(String title, String description);
     15    List<Project> findAllBySkillsRequiredContaining(Skill skill);
    1216}
Note: See TracChangeset for help on using the changeset viewer.