npm.io
0.0.6 • Published 9 years ago

sqlhandler

Licence
MIT
Version
0.0.6
Deps
1
Vulns
0
Weekly
0

Usage

  1. require the module

    var sqlHandler = require("sqlhandler");
  2. connect and open the sqlite3

    sqlHandler.openDB('./resource/SYS_FILE.db') ; // param : the path of your db
  3. operations

    sqlHandler.findAll(function (rows) { // find all records form the db
            data = rows ;
            console.log(data) ;
     }) ;

......

Keywords