TinyBase logoTinyBase β

InvalidCells

The InvalidCells type describes the invalid Cell values that have been attempted during a transaction, primarily used so that you can indicate whether the transaction should be rolled back.

{[tableId: Id]: {[rowId: Id]: {[cellId: Id]: any[]}}}

An InvalidCells object is provided to the doRollback callback when using the transaction method and the finishTransaction method. See those methods for specific examples.

This type is a nested structure of Table, Row, and Cell objects, much like the Tables object, but one for which Cell values are listed in array (much like the InvalidCellListener type) so that multiple failed attempts to change a Cell during the transaction are described.

Since

v1.2.0