Skip to main content
Cloud - Deno documentation

Classes

c
Deno.AtomicOperation

An operation on a Deno.Kv that can be performedatomically. Atomic operations do not auto-commit, and must be committedexplicitly by calling the commit method.

c
Deno.Kv

A key-value database that can be used to store and retrieve data.

c
Deno.KvListIterator

An iterator over a range of data entries in a Deno.Kv.

c
Deno.KvU64

Wrapper type for 64-bit unsigned integers for use as values in aDeno.Kv.

Functions

f
Deno.cron

Create a cron job that will periodically execute the provided handlercallback based on the specified schedule.

f
Deno.openKv

Open a new Deno.Kv connection to persist data.

Interfaces

I
Deno.AtomicCheck

A check to perform as part of a Deno.AtomicOperation. The checkwill fail if the versionstamp for the key-value pair in the KV store doesnot match the given versionstamp. A check with a null versionstamp checksthat the key-value pair does not currently exist in the KV store.

I
Deno.CronSchedule

CronSchedule is the interface used for JSON formatcron schedule.

I
Deno.KvCommitError
No documentation available
I
Deno.KvCommitResult
No documentation available
I
Deno.KvEntry

A versioned pair of key and value in a Deno.Kv.

I
Deno.KvListOptions

Options for listing key-value pairs in a Deno.Kv.

Type Aliases

T
Deno.CronScheduleExpression

CronScheduleExpression is used as the type of minute, hour,dayOfMonth, month, and dayOfWeek in CronSchedule.

T
Deno.KvConsistencyLevel

Consistency level of a KV operation.

T
Deno.KvEntryMaybe

An optional versioned pair of key and value in a Deno.Kv.

T
Deno.KvKey

A key to be persisted in a Deno.Kv. A key is a sequenceof Deno.KvKeyParts.

T
Deno.KvKeyPart

A single part of a Deno.KvKey. Parts are orderedlexicographically, first by their type, and within a given type by theirvalue.

T
Deno.KvListSelector

A selector that selects the range of data returned by a list operation on aDeno.Kv.

T
Deno.KvMutation

A mutation to a key in a Deno.Kv. A mutation is acombination of a key, a value, and a type. The type determines how themutation is applied to the key.