DBOperationtype

{
	readonly action: "get" | "add" | "set" | "update" | "delete";
	readonly collection: Collection<string, I, T>;
	readonly id: I;
	readonly data?: unknown;
	readonly updates?: unknown;
}
PropertyType
.action"get"
"add"
"set"
"update"
"delete"
required readonly
.collectionCollection<string, I, T>
Declarative definition of a database collection/table. required readonly
.idI
required readonly
.dataunknown
readonly
.updatesunknown
readonly
Type
Collection
Declarative definition of a database collection/table.

Structured log entry recording a single database operation performed through a RecordingDBProvider.

  • action is the kind of operation; collection is the Collection it applies to; id is the item involved; data and updates carry whichever fields apply to that operation.
  • A "get" operation records a read — data is the item that was observed, or undefined if the read confirmed the item absent.