mapIndexedNotNull

inline fun <R : Any> Query.mapIndexedNotNull(transform: (index: Int, row: QueryRowSet) -> R?): List<R>(source)

Return a list containing only the non-null results of applying the given transform function to each row and its index.

The transform function takes the index of a row and the row itself and returns the result of the transform applied to the row.

Since

3.0.0