TinyBase logoTinyBase β

ChangedTableIds

The ChangedTableIds type describes the Table Ids that were added or removed during a transaction.

{[tableId: 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 Table Id as key, and an IdAddedOrRemoved number indicating whether the Table Id was added (1) or removed (-1).

Note that there will be no entry if the content of the Table itself changed. For that you should consult the ChangedRowIds, ChangedCellIds, or ChangedCells types.

Since

v4.0.0