bass-db
A simple query builder for NodeJS applications using a MySQL backend
Installation
$ npm install bass-db
Usage
Firstly, you need to go into the package itself (after installation) and setup your DB details in the settings.json file. Thereafter, move into your project and start coding like so:
'use strict'; var db = ; /* SINGLE QUERY EXAMPLE */ db // SELECT query // table name ; db // DELETE query ; /* MULTIPLE QUERY EXAMPLE */ db // SELECT query ;
Tests
License
MIT LICENSE