SeedLegacy
type SeedLegacy = (storage, key, rawJson) => Promise<void>;Defined in: src/storage/testing/conformance.ts:51
Write a value in a legacy, non-canonical stored form, bypassing the driver (e.g. a raw SQL
INSERT of json text with unsorted keys, a Mongo document with fields in insertion order).
Enables the legacy-value CAS case (ADR 0005).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
storage |
KvStorage |
key |
string |
rawJson |
string |
Returns
Section titled “Returns”Promise<void>