DBOperationtype
{
readonly action: "get" | "add" | "set" | "update" | "delete";
readonly collection: Collection<string, I, T>;
readonly id: I;
readonly data?: unknown;
readonly updates?: unknown;
}| Property | Type | |
|---|---|---|
.action | "get""add""set""update""delete" | required readonly |
.collection | Collection<string, I, T> | Declarative definition of a database collection/table. required readonly |
.id | I | required readonly |
.data | unknown | readonly |
.updates | unknown | readonly |
| Type | |
|---|---|
Collection | Declarative definition of a database collection/table. |
Structured log entry recording a single database operation performed through a RecordingDBProvider.
actionis the kind of operation;collectionis theCollectionit applies to;idis the item involved;dataandupdatescarry whichever fields apply to that operation.- A
"get"operation records a read —datais the item that was observed, orundefinedif the read confirmed the item absent.