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/JobRepository.java

    r297bd16 rf067338  
    11package it.finki.tinki.repository;
    22
     3import it.finki.tinki.model.Skill;
    34import it.finki.tinki.model.Work.Job;
    45import org.springframework.data.jpa.repository.JpaRepository;
     
    67
    78import java.util.List;
     9import java.util.Set;
    810
    911@Repository
    1012public interface JobRepository extends JpaRepository<Job, Long>{
    1113    List<Job> findAllByAccount_Id(Long accountId);
     14    List<Job> findAllByTitleContainsOrDescriptionContains(String title, String description);
     15    List<Job> findAllBySkillsRequiredContaining(Skill skill);
    1216}
Note: See TracChangeset for help on using the changeset viewer.