kmongo / org.litote.kmongo / mul

mul

@JvmName("ulongmul") fun mul(property: KProperty<<ERROR CLASS>>, number: Number): Bson (source)
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