TinyBase logoTinyBase β

persister-sqlite3

The persister-sqlite3 module of the TinyBase project lets you save and load Store data to and from a local SQLite database (in an appropriate environment).

This module is deprecated as of v9.7.0 and will be removed in v10.0.0. The sqlite3 module that it binds to is no longer maintained, and SQLite is now built into Node.js itself, so you should use the persister-sqlite-node module and its SqliteNodePersister instead. The BetterSqlite3Persister is a good alternative if you need to support versions of Node.js that predate the built-in node:sqlite module.

Deprecated

Use the persister-sqlite-node module instead. This module will be removed in v10.0.0.

See also

Database Persistence guide

Since

v4.0.0

Interfaces

Functions