Persisting stores
Persister
A Persister object lets you save and load Store data to and from different locations, or underlying storage types. Read more.
createDurableObjectSqlStoragePersister
The createDurableObjectSqlStoragePersister function creates a DurableObjectSqlStoragePersister object that can persist the Store to and from Cloudflare Durable Object SQLite storage. Read more.
createLocalPersister
The createLocalPersister function creates a LocalPersister object that can persist the Store to the browser's local storage. Read more.
createPglitePersister
The createPglitePersister function creates a PglitePersister object that can persist the Store to a local PGlite database. Read more.
createSessionPersister
The createSessionPersister function creates a SessionPersister object that can persist the Store to the browser's session storage. Read more.
createSqliteWasmPersister
The createSqliteWasmPersister function creates a SqliteWasmPersister object that can persist the Store to a local SQLite database. Read more.