Skip to main content
method Deno.AtomicOperation.prototype.check
AtomicOperation.prototype.check(...checks: AtomicCheck[]): this
Deprecated

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

<span>...checks</span>: AtomicCheck[]

Return Type

this
Back to top