jsharmony-db-sqlite

1.11.1 • Public • Published

===================

jsharmony-db-sqlite

===================

jsHarmony Database Connector for SQLite

Installation

npm install jsharmony-db-sqlite --save

Usage

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.

Release History

  • 1.0.0 Initial release

Package Sidebar

Install

npm i jsharmony-db-sqlite

Weekly Downloads

70

Version

1.11.1

License

LGPL-3.0

Unpacked Size

155 kB

Total Files

16

Last publish

Collaborators

  • apharmony