Skip to content

Commit

Permalink
rename method to order by descending for find all squeaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gychu1 committed Sep 5, 2022
1 parent b3d9c39 commit 3d8d968
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ public interface SqueakRepository extends JpaRepository<Squeak, Long> {
List<Squeak> findAllBySqueakerOrderById(Squeaker squeaker);

Squeak findSqueakById(Long id);
List<Squeak> findAllByOrderByIdDesc();
}

0 comments on commit 3d8d968

Please sign in to comment.