kmongo / org.litote.kmongo / setValue

setValue

fun <T> setValue(property: KProperty<T?>, value: T?): Bson (source)

Creates an update that sets the value of the property to the given value.

Parameters

property - the property

value - the value

Parameters

Return
the update

Mongodb
.driver.manual reference/operator/update/set/ $set