mapIndexed

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

Return a list containing the 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