W3cubDocs

/Deno 2

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.

Type Parameters #

#T

Properties #

#key: KvKey
#value: T
#versionstamp: string

© 2018–2025 the Deno authors
Licensed under the MIT License.
https://docs.deno.com/api/deno/~/Deno.KvEntry