Skip to content

Commit

Permalink
Todo 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JooHui-void committed Mar 7, 2024
1 parent 1c9b4f0 commit e9ef94d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ interface ArticleRepository : JpaRepository<Article, Long> {
pageable: Pageable,
):Page<Article>

// TODO : Query문 교체 필요
@Query("SELECT a FROM Article a WHERE (a.topic = :topic) AND (a.title LIKE %:title% OR a.content LIKE %:content%)")
fun findByTitleContainingOrContentContainingAndTopic(
title: String,
Expand Down

0 comments on commit e9ef94d

Please sign in to comment.