push

fun <T> push(property: KProperty<Iterable<T>?>, value: T): Bson

Creates an update that adds the given value to the array value of the property.

Return

the update @mongodb.driver.manual reference/operator/update/push/ $push

Parameters

property

the property

value

the value

the value type