There was an error while loading. Please reload this page.
1 parent 95919d6 commit 9eaff3aCopy full SHA for 9eaff3a
1 file changed
nmnb-domain/src/main/kotlin/nmnb/domain/post/repository/PostRepository.kt
@@ -8,6 +8,5 @@ interface PostRepository : JpaRepository<Post, Long> {
8
@Query("SELECT p.id FROM Post p")
9
fun findAllPostId(): List<Long>
10
11
- @Query("SELECT p FROM Post p WHERE p.id IN :ids")
12
- fun findAllByIdIn(ids: List<Long>): List<Post>
+ fun findAllByIdIn(ids: Iterable<Long>): List<Post>
13
}
0 commit comments