TinyBase logoTinyBase β

PgPersister

The PgPersister interface represents a Persister that lets you save and load Store data to and from a PostgreSQL database, via the pg module.

You should use the createPgPersister function to create a PgPersister object.

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

Since

9.6.0

Getter methods

Listener methods

Lifecycle methods

Load methods

Save methods

Development methods