Skip to content

Commit 7d7ce43

Browse files
committed
Feat : uuid를 갖는 로우 존재확인하는 JPA메서드 추가
1 parent cd192a5 commit 7d7ce43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

back/src/main/java/com/back/domain/file/video/repository/VideoRepository.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
@Repository
1010
public interface VideoRepository extends JpaRepository<Video, Integer> {
1111
Optional<Video> findByUuid(String uuid);
12+
boolean existsByUuid(String uuid);
1213
}

0 commit comments

Comments
 (0)