Ignore:
Timestamp:
02/04/23 19:55:16 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
302b233, 4ee640e
Parents:
e097c1c
Message:

home controller added getMappings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/repository/ProjectionRepository.java

    re097c1c ra554435  
    44import org.springframework.data.jpa.repository.JpaRepository;
    55
     6import java.time.LocalDate;
     7import java.util.List;
     8
    69public interface ProjectionRepository extends JpaRepository<Projection,Integer> {
     10    //    NOTE: CHANGE THIS WITH MATERIALIZED VIEW
     11    List<Projection> findAllByDate_time_startBefore(LocalDate datum);
    712}
Note: See TracChangeset for help on using the changeset viewer.