inline fun <T, R> MongoIterable<T>.flatMap(crossinline transform: (T) -> MongoIterable<R>): List<R>
Returns a single list of all elements yielded from results of transform function being invoked on each element of original collection.