SqliteBunPersister
The SqliteBunPersister
interface represents a Persister
that lets you save and load Store
data to and from a local Bun SQLite database.
You should use the createSqliteBunPersister
function to create a SqliteBunPersister
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
v6.1.0