TinyBase logoTinyBase

ChangedValueIds

The ChangedValueIds type describes the Value Ids that were added or removed during a transaction.

{[valueId: Id]: IdAddedOrRemoved}

It is available to the DoRollback function and to a TransactionListener function via the TransactionLog object.

It is a simple object that has Value Id as key, and an IdAddedOrRemoved number indicating whether the Value Id was added (1) or removed (-1).

Note that there will be no entry if the content of the Value itself changed. For that you should consult the ChangedValues type.

Since

v4.0.0