Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/ext/kv/01_db.ts>AtomicOperation

A modern runtime for JavaScript and TypeScript.
Go to Latest
class AtomicOperation
import { AtomicOperation } from "https://deno.land/x/deno@v1.36.1/ext/kv/01_db.ts";

Constructors

new
AtomicOperation(rid: number)

Methods

check(...checks: Deno.AtomicCheck[]): this
delete(key: Deno.KvKey): this
enqueue(message: unknown, opts?: { delay?: number; keysIfUndelivered?: Deno.KvKey[]; }): this
max(key: Deno.KvKey, n: bigint): this
min(key: Deno.KvKey, n: bigint): this
mutate(...mutations: Deno.KvMutation[]): this
set(key: Deno.KvKey, value: unknown): this
sum(key: Deno.KvKey, n: bigint): this