DBChangetype
{
readonly action: "add" | "set" | "update" | "delete";
readonly collection: string;
readonly id?: I | undefined;
readonly query?: unknown;
readonly data?: unknown;
readonly updates?: unknown;
}| Property | Type | |
|---|---|---|
.action | "add""set""update""delete" | required readonly |
.collection | string | required readonly |
.id | I | readonly |
.query | unknown | readonly |
.data | unknown | readonly |
.updates | unknown | readonly |
Structured log entry recording a single database write performed through a ChangesDBProvider.
actionis the kind of write;collectionis the collection name;id,query,data, andupdatescarry whichever fields apply to that write.