selectBatched
fun FieldSet.selectBatched(batchSize: Int = 1000, where: SqlExpressionBuilder.() -> Op<Boolean>): Iterable<Iterable<ResultRow>>
Deprecated (with error)
As part of SELECT DSL design changes, this will be removed in future releases.
Replace with
import import org.jetbrains.exposed.sql.selectAll
Content copied to clipboard
selectAll().where { where.invoke() }.fetchBatchedResults(batchSize)
Content copied to clipboard
fun Query.selectBatched(batchSize: Int = 1000, where: SqlExpressionBuilder.() -> Op<Boolean>): Iterable<Iterable<ResultRow>>
Deprecated (with error)
This method only exists as part of the migration for SELECT DSL design changes.
Replace with
where { where.invoke() }.fetchBatchedResults(batchSize)
Content copied to clipboard