This is documentation for an unreleased version. For the latest API, see version 3.18.
Version: Next
KeyValueStoreRecord
A record as returned by a storage backend (getValue).
Storage backends are byte transports: they persist and return bytes verbatim and never serialize
or parse. Interpretation is the KeyValueStore frontend's job (it parses according to the content
type via parseValue). The value is therefore always raw bytes — a Buffer (Node) or an
ArrayBuffer (browser backends).
A record as returned by a storage backend (
getValue).Storage backends are byte transports: they persist and return bytes verbatim and never serialize or parse. Interpretation is the
KeyValueStorefrontend's job (it parses according to the content type viaparseValue). The value is therefore always raw bytes — aBuffer(Node) or anArrayBuffer(browser backends).