inline fun <T, R> MongoIterable<T>.map(crossinline transform: (T) -> R): List<R>
Returns a list containing the results of applying the given transform function to each element in the original collection.