api-docs / org.ktorm.entity / mapTo
mapTo
inline fun <E : Any, R, C : MutableCollection<in R>> EntitySequence<E, *>.mapTo(
destination: C,
transform: (E) -> R
): C
(source code)Apply the given transform function to each element of the original sequence
and append the results to the given destination.
The operation is terminal.