JSPM

  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q48402F
  • License LGPL-3.0

jsHarmony Database Connector for SQLite

Package Exports

  • jsharmony-db-sqlite

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsharmony-db-sqlite) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

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