pub struct RowChange {
pub row: RowId,
pub change: Change<Value>,
pub old: BTreeMap<String, Value>,
pub sources: WriteSources,
pub creator: Option<ChangeId>,
pub execution: Execution,
}Expand description
Merge’s change to one row, together with the cells a delete replaced (§4), the original creation it copies and the SQL operations that produced it.
Fields§
§row: RowIdTable, encoded primary key and audience.
change: Change<Value>The pre-change generation and merge operation, including parent metadata.
old: BTreeMap<String, Value>A delete’s replaced cells, each with the value its setter wrote; empty for an insert or an update, which carry no replaced value (D5.5). SQL NULL is a value, not absence.
sources: WriteSourcesAuthenticated original generation and cell sources, independent of scalars.
creator: Option<ChangeId>For an insert copying a row from another audience (§15.4), the copied row’s original creation, whose author keeps owning it (§9.6).
execution: ExecutionThe statement, shared-trigger and foreign-key operations on this row, in execution order, including a dismissal’s deletes and the halves of a move the row’s own operation made. A row a move carried along with its ancestor, and a migration difference, have no steps.