Base class for a Cloudflare KV model or navigation property.
Consists of a key, value, and optional metadata.
Remarks
The key is a string that uniquely identifies the entry in the KV store.
The value is of generic type V, allowing flexibility in the type of data stored.
V must be serializable to JSON.
The metadata can hold any additional information associated with the KV entry.
Type Parameters
V
The type of the value stored in the KValue. Note that KV is schema-less,
so this type is not enforced at runtime, but serves as the type the client expects.
The type of the value stored in the KValue. Note that KV is schema-less,
so this type is not enforced at runtime, but serves as the type the client expects.
Base class for a Cloudflare KV model or navigation property.
Consists of a
key,value, and optionalmetadata.Remarks
keyis a string that uniquely identifies the entry in the KV store.valueis of generic typeV, allowing flexibility in the type of data stored.Vmust be serializable to JSON.metadatacan hold any additional information associated with the KV entry.