dynamicdb
v2.0.15
Published
A local database package that has support for SQLite and BSON
Downloads
5
Maintainers
Readme
- It has two types of data storage, SQLite and BSON.
- Easy to use and returns responses quickly.
- High performance and scalability.
$ npm install dynamicdb
const db = require('dynamicdb').sqlite();
const db = require('dynamicdb').bson();
_
// Saving a data
db.insert('person', { name: 'John Doe', age: 28 });
// Getting data
db.get('person.name') // John Doe
db.get('person.age') // 28
// Adding a value
db.add('person.age', 1) // 29
Note: If you want to see more examples, see the documentation for this project.