method Deno.AtomicOperation.prototype.check
Jump to headingAtomicOperation.prototype.check(...checks: AtomicCheck[]): this
Add to the operation a check that ensures that the versionstamp of the key-value pair in the KV store matches the given versionstamp. If the check fails, the entire operation will fail and no mutations will be performed during the commit.
Parameters Jump to heading
Jump to heading<span>...checks</span>: AtomicCheck[]
Return Type Jump to heading
this