//
koffee-backend
/
eu.yeger.koffee.utility
/
incrementBy
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
Content copied to clipboard