api-docs / org.ktorm.dsl / mapTo
mapTo
inline fun <R, C : MutableCollection<in R>> Query.mapTo(
destination: C,
transform: (row: QueryRowSet) -> R
): C
(source code)Apply the given transform function to each row of the query and append the results to the given destination.
Since
3.0.0