mirror of
https://github.com/usbharu/Hideout.git
synced 2026-07-21 12:43:36 +00:00
feat: ユーザーをurlで一括取得を実装
This commit is contained in:
@@ -112,7 +112,9 @@ class UserRepository(private val database: Database) : IUserRepository {
|
||||
}
|
||||
|
||||
override suspend fun findByUrls(urls: List<String>): List<UserEntity> {
|
||||
TODO("Not yet implemented")
|
||||
return query {
|
||||
Users.select { Users.url inList urls }.map { it.toUserEntity() }
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun findFollowersById(id: Long): List<UserEntity> {
|
||||
|
||||
Reference in New Issue
Block a user