method Deno.AtomicOperation.prototype.sum
Jump to headingAtomicOperation.prototype.sum(key: KvKey,n: bigint,): this
Shortcut for creating a sum
mutation. This method wraps n
in a
Deno.KvU64
, so the value of n
must be in the range
[0, 2^64-1]
.
Parameters Jump to heading
Jump to headingkey: KvKey
Jump to headingn: bigint
Return Type Jump to heading
this