Deno.KvKey - Deno documentation
type alias Deno.KvKey
Unstable

UNSTABLE: New API, yet to be vetted.

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

Keys are ordered lexicographically by their parts. The first part is the most significant, and the last part is the least significant. The order of the parts is determined by both the type and the value of the part. The relative significance of the types can be found in documentation for the Deno.KvKeyPart type.

Keys have a maximum size of 2048 bytes serialized. If the size of the key exceeds this limit, an error will be thrown on the operation that this key was passed to.

Definition

readonly KvKeyPart[]