update dependencies

This commit is contained in:
2022-12-05 18:12:45 +06:00
parent 74cf8c1a9a
commit 4024b040e0
2 changed files with 10 additions and 8 deletions

View File

@@ -38,9 +38,11 @@ class ExposedPostsRepo(
override val selectById: ISqlExpressionBuilder.(PostId) -> Op<Boolean> = { idColumn.eq(it.string) }
override val selectByIds: ISqlExpressionBuilder.(List<PostId>) -> Op<Boolean> = { idColumn.inList(it.map { it.string }) }
override val ResultRow.asId: PostId
get() = PostId(get(idColumn))
override val ResultRow.asObject: RegisteredPost
get() {
val id = PostId(get(idColumn))
val id = asId
return RegisteredPost(
id,
DateTime(get(createdColumn)),