Skip to content

Repository files navigation

aedes-persistence-sqlite

ci

Aedes persistence, backed by the built-in Node.js SQLite module.

See aedes-persistence for the full API, and Aedes for usage.

Install

npm i aedes aedes-persistence-sqlite --save

API

aedesPersistenceSqlite(database)

Creates a new instance of aedes-persistence-sqlite. The parameter is a SQLite database filename, or an existing DatabaseSync instance from node:sqlite. As standard with node:sqlite you can pass :memory: as filename to get an in-memory only database.

Example:

const aedesPersistenceSqlite = require("aedes-persistence-sqlite");

// instantiate a persistence instance
aedesPersistenceSqlite('./mydb.sqlite');

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages