Skip to main content

parseRawValue

@webda/core


Function: parseRawValue()

parseRawValue(table, key, value): RawRow

Defined in: packages/core/src/stores/migration.ts:80

Parse a value of a key/value storage as a raw row

Parameters​

table​

string

table name

key​

string

storage key

value​

unknown

stored JSON string (or object, for old persistence files)

Returns​

RawRow

the row, flagged unreadable when the value is not a JSON object