DatabaseChangeListener
The DatabaseChangeListener
type describes a function that is used to listen for changes to the data in a database.
(tableName: string): void
Type | Description | |
---|---|---|
tableName | string | The name of the table that has changed. |
returns | void | This has no return value. |
This is only used when developing custom database-oriented Persisters, and most TinyBase users will not need to be particularly aware of it.
This function should be called with the name of a relevant table that has changed, possible through the use of events, triggers, or notifications, dependent on the specific database implementation.
Since
v5.2.0