api-docs / org.ktorm.dsl / fold
fold
inline fun <R> Query.fold(
initial: R,
operation: (acc: R, row: QueryRowSet) -> R
): R
(source code)Accumulate value starting with initial value and applying operation to current accumulator value and each row.
Since
3.0.0