Skip to main content

atomic

method Deno.Kv.prototype.atomic
Jump to headingKv.prototype.atomic(): AtomicOperation

Create a new Deno.AtomicOperation object which can be used to perform an atomic transaction on the database. This does not perform any operations on the database - the atomic transaction must be committed explicitly using the Deno.AtomicOperation.commit method once all checks and mutations have been added to the operation.

Return Type Jump to heading

Back to top