import { AtomicBuilder } from "https://deno.land/x/kvdex@v0.1.2/mod.ts";
Constructors
Methods
check(...atomicChecks: AtomicCheck<TValue>[])
Check if documents have been changed since a specific versionstamp.
commit(): Promise<Deno.KvCommitResult | Deno.KvCommitError>
Executes the built atomic operation. Will always fail if trying to delete and add/set to the same indexable collection in the same operation.
select<TValue extends KvValue>(selector: CollectionSelector<TSchema, TValue, Collection<TValue>>)
Select a new collection context.