TinyBase logoTinyBase

CrSqliteWasmPersister

The CrSqliteWasmPersister interface represents a Persister that lets you save and load Store data to and from a local CR-SQLite database.

You should use the createCrSqliteWasmPersister function to create a CrSqliteWasmPersister object.

It is a minor extension to the Persister interface and simply provides an extra getDb method for accessing a reference to the database instance the Store is being persisted to.

Since

v4.3.14

Getter methods

This is the collection of getter methods within the CrSqliteWasmPersister interface. There are only two getter methods, getStore and getDb.

Listener methods

This is the collection of listener methods within the CrSqliteWasmPersister interface. There are only two listener methods, addStatusListener and delListener.

Lifecycle methods

This is the collection of lifecycle methods within the CrSqliteWasmPersister interface. There are only three lifecycle methods, destroy, getStatus, and schedule.

Load methods

This is the collection of load methods within the CrSqliteWasmPersister interface. There are 4 load methods in total.

Save methods

This is the collection of save methods within the CrSqliteWasmPersister interface. There are 4 save methods in total.

Development methods

This is the collection of development methods within the CrSqliteWasmPersister interface. There is only one method, getStats.