Skip to content

Commit

Permalink
add :: existsByUser 쿼리 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Umjiseung committed Apr 13, 2024
1 parent 23498d3 commit 9fdc06c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.mindway.server.v2.domain.goal.repository;

import com.mindway.server.v2.domain.goal.entity.Goal;
import com.mindway.server.v2.domain.user.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface GoalRepository extends JpaRepository<Goal, Long> {
Boolean existsByUser(User user);
}

0 comments on commit 9fdc06c

Please sign in to comment.