Skip to main content

RawRow

@webda/core


Interface: RawRow

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

A row as the backend stores it, read without type filter nor hydration

Properties​

data​

data: Record<string, any>

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

Stored data, __type as stored. Rows written by Webda 4 Memory and File stores are serializer envelopes { $serializer, value, __type }; Webda 3 rows are plain objects.


key​

key: string

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

Storage key of the row


table​

table: string

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

Table (collection) holding the row: the store name for single-storage stores (Memory, File)


unreadable?​

optional unreadable?: boolean

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

Set when the stored value is not a JSON object: data is then empty and the row cannot be patched