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.
A key-value database that can be used to store and retrieve data.
An iterator over a range of data entries in a Deno.Kv
.
Wrapper type for 64-bit unsigned integers for use as values in aDeno.Kv
.
Create a cron job that will periodically execute the provided handlercallback based on the specified schedule.
Open a new Deno.Kv
connection to persist data.
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.
CronSchedule is the interface used for JSON formatcron schedule
.
Options for listing key-value pairs in a Deno.Kv
.
CronScheduleExpression is used as the type of minute
, hour
,dayOfMonth
, month
, and dayOfWeek
in CronSchedule
.
Consistency level of a KV operation.
A versioned pair of key and value in a Deno.Kv
.
An optional versioned pair of key and value in a Deno.Kv
.
A key to be persisted in a Deno.Kv
. A key is a sequenceof Deno.KvKeyPart
s.
A single part of a Deno.KvKey
. Parts are orderedlexicographically, first by their type, and within a given type by theirvalue.
A selector that selects the range of data returned by a list operation on aDeno.Kv
.
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.