Skip to main content
interface Deno.KvEntry
Unstable

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

The versionstamp is a string that represents the current version of the key-value pair. It can be used to perform atomic operations on the KV store by passing it to the check method of a Deno.AtomicOperation. A null versionstamp indicates that no value exists for the given key in the KV store.

Properties

key: KvKey
value: unknown
versionstamp: string | null