API reference › @evolu/common › local‑first/Storage › DbChange
Defined in: packages/common/src/local-first/Storage.ts:328
A DbChange is a change to a table row. Together with a unique Timestamp, it forms a CrdtMessage.
Extends
Extended by
Properties
id
id: string & Brand<"Id">;
Inherited from
InferType.id;
isDelete
isDelete: boolean | null;
Inherited from
InferType.isDelete;
isInsert
isInsert: boolean;
Inherited from
InferType.isInsert;
table
table: string;
Inherited from
InferType.table;
values
values: Readonly<
Partial<Record<string, string | number | Uint8Array<ArrayBufferLike> | null>>
> & Brand<"ValidDbChangeValues">;
Inherited from
InferType.values;