Skip to main content
Deno.AtomicOperation.prototype.mutate - Deno documentation
method Deno.AtomicOperation.prototype.mutate
AtomicOperation.prototype.mutate(...mutations: KvMutation[]): this

Add to the operation a mutation that performs the specified mutation on the specified key if all checks pass during the commit. The types and semantics of all available mutations are described in the documentation for Deno.KvMutation.

Parameters

...mutations: KvMutation[]

Return Type

this