kmongo / org.litote.kmongo / mul

mul

fun <T : Number?> mul(property: KProperty<T>, number: Number): Bson (source)

Creates an update that multiplies the value of the property by the given number.

Parameters

property - the property

number - the non-null number

Return
the update

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