api-docs / org.ktorm.dsl / flatMapTo
flatMapTo
inline fun <R, C : MutableCollection<in R>> Query.flatMapTo(
destination: C,
transform: (row: QueryRowSet) -> Iterable<R>
): C
(source code)Append all elements yielded from results of transform function being invoked on each row of the query,
to the given destination.
Since
3.0.0