superbionic-clone

0.0.30 • Public • Published

Bionic

Get Started

Usage

const db = new Bionic('data');
// see tmp/data.json for db

db.create('tableName', { name: 'first row of data' });
db.create('tableName', { name: 'second row of data' });


db.find('tableName', { name: 'first row of data' });
// > [{ name: 'first row of data', id: 1 }]

db.find('tableName', {});
// > [{ name: 'first row of data', id: 1 }, { name: 'second row of data', id: 2 }]

db.update('tableName', { id: 2 }, { description: 'this was updated' });

db.remove('tableName', { id: 1 });
// > [{ name: 'second row of data', description: 'this was updated', id: 2 }]

Readme

Keywords

Package Sidebar

Install

npm i superbionic-clone

Homepage

github.com

Weekly Downloads

1

Version

0.0.30

License

MIT

Unpacked Size

5.93 kB

Total Files

3

Last publish

Collaborators

  • matewshy