kmongo / org.litote.kmongo / set

set

fun set(vararg properties: SetTo<*>): Bson (source)

Creates an update that sets the values of the properties to the specified values.

Parameters

properties - the properties to update

Return
the update

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