start update dependencies

This commit is contained in:
2026-01-24 19:41:35 +06:00
parent 3558a5135b
commit d972cebf47
8 changed files with 30 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ kotlin {
}
jvmMain {
dependencies {
api libs.jb.exposed
api libs.jb.exposed.jdbc
}
}
}

View File

@@ -1,6 +1,8 @@
package dev.inmo.micro_utils.pagination
import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.v1.core.Expression
import org.jetbrains.exposed.v1.core.SortOrder
import org.jetbrains.exposed.v1.jdbc.Query
fun Query.paginate(with: Pagination, orderBy: Pair<Expression<*>, SortOrder>? = null) =
limit(with.size)