plus

operator fun <T> MongoIterable<T>.plus(element: T): List<T>

Returns a list containing all elements of the original collection and then the given element.


operator fun <T> MongoIterable<T>.plus(elements: Array<out T>): List<T>

Returns a list containing all elements of the original collection and then all elements of the given elements array.


operator fun <T> MongoIterable<T>.plus(elements: Iterable<T>): List<T>

Returns a list containing all elements of the original collection and then all elements of the given elements collection.


operator fun <T> MongoIterable<T>.plus(elements: Sequence<T>): List<T>

Returns a list containing all elements of the original collection and then all elements of the given elements sequence.