jsHarmony Database Connector for SQLite
npm install jsharmony-db-sqlite --save
var JSHsqlite = require('jsharmony-db-sqlite');
var JSHdb = require('jsharmony-db');
var dbconfig = { _driver: new JSHsqlite(), filename: ":memory:" /* or path */ };
var db = new JSHdb(dbconfig);
db.Recordset('','select * from c where c_id >= @c_id',[JSHdb.types.BigInt],{'c_id': 10},function(err,rslt){
console.log(rslt);
done();
});
This library uses NPM's sqlite3.
- 1.0.0 Initial release