incrementBy

Creates an update Bson for incrementing numbers.

Return

The update bson.

Author

Jan Müller

Parameters

<receiver>
The target KProperty.
amount
The amount to increment by.
infix fun KProperty<Number??>.incrementBy(amount: Number): Bson