fun set(vararg properties: SetTo<*>): Bson
(source)
Creates an update that sets the values of the properties to the specified values.
properties
- the properties to update
Return
the update
Mongodb
.driver.manual reference/operator/update/set/ $set