TinyBase logoTinyBase β

PowerSyncPersister

The PowerSyncPersister interface represents a Persister that lets you save and load Store data to and from a local SQLite database that is automatically synced using the PowerSync service.

You should use the createPowerSyncPersister function to create a PowerSyncPersister object.

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

Since

v4.8.0

Getter methods

Listener methods

Lifecycle methods

Load methods

Save methods

Development methods