ChangedRowIds
The ChangedRowIds
type describes the Row
Ids
that were added or removed during a transaction.
{[tableId: Id]: {[rowId: Id]: IdAddedOrRemoved}}
It is available to the DoRollback
function and to a TransactionListener
function via the TransactionLog
object.
It is a nested object that has Table
Id
as a top-level key, and then Row
Id
as an inner key. The values of the inner objects are IdAddedOrRemoved
numbers indicating whether the Row
Id
was added (1) or removed (-1) to the given Table
.
Note that there will be no entry if the content of the Row
itself changed. For that you should consult the ChangedCellIds
or ChangedCells
types.
Since
v4.0.0