toList

fun <T> MongoIterable<T>.toList(): List<T>

Returns a List containing all elements.