DBChangetype

{
	readonly action: "add" | "set" | "update" | "delete";
	readonly collection: string;
	readonly id?: I | undefined;
	readonly query?: unknown;
	readonly data?: unknown;
	readonly updates?: unknown;
}
PropertyType
.action"add"
"set"
"update"
"delete"
required readonly
.collectionstring
required readonly
.idI
readonly
.queryunknown
readonly
.dataunknown
readonly
.updatesunknown
readonly

Structured log entry recording a single database write performed through a ChangesDBProvider.

  • action is the kind of write; collection is the collection name; id, query, data, and updates carry whichever fields apply to that write.