Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
withinJoel committed Aug 22, 2024
1 parent f10d2f0 commit e39c6ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface ProjectRepository extends JpaRepository<Project, Long> {
@Query ("select p from Project p where p.description = :department")
Project findByDescription(String department);

@Query ("select p from Project p where p.description != :department")
@Query ("select p from Project p where p.description != :department limit 1")
Project findBySkippedDescription(String department);

@Query ("select p from Project p where p.description != :department and p.name != :name")
Expand Down

0 comments on commit e39c6ab

Please sign in to comment.