Skip to content

Commit

Permalink
quiz레포 메서드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
장준하 authored and 장준하 committed Aug 5, 2024
1 parent 12a31fa commit 0bf2cc7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@


public interface QuizRepository extends JpaRepository<Quiz,Long> {
//JPA에서는 메서드 이름 명명규칙을 통해 쿼리를 사용할 수 있는 기능을 제공한다.
List<Quiz> findAllByOrderByPostDateAsc();

List<Quiz> findAllByOrderByIdAsc();
}

0 comments on commit 0bf2cc7

Please sign in to comment.