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