API reference@evolu/commonlocal‑first/Schema › MutationChange

Defined in: packages/common/src/local-first/Schema.ts:244

A DbChange is a change to a table row. Together with a unique Timestamp, it forms a CrdtMessage.

Extends

Properties

id

id: string & Brand<"Id">;

Inherited from

RunEvent.id


isDelete

isDelete: boolean | null;

Inherited from

MutationChange.isDelete


isInsert

isInsert: boolean;

Inherited from

MutationChange.isInsert


ownerId

readonly ownerId: string & Brand<"Id"> & Brand<"OwnerId">;

Defined in: packages/common/src/local-first/Schema.ts:245


table

table: string;

Inherited from

MutationChange.table


values

values: Readonly<
  Record<string, string | number | Uint8Array<ArrayBufferLike> | null>
> & Brand<"ValidDbChangeValues">;

Inherited from

MutationChange.values