[Abandoned] Wrap node-sqlite3's async methods with the "q" style promises.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
.npmignore
LICENSE-MIT
README.md
grunt.js
package.json

README.md

sqlite3-as-promised [Abandoned]

Wrap node-sqlite3's async methods with the "q" style promises.

Getting Started

Install the module with: npm install sqlite3-as-promised

var sap = require('sqlite3-as-promised');
var sqlite3 = require('sqlite3');
var db = new sqlite3.Database(':memory:');

//init, etc.

sap.all(db, 'SELECT * FROM table')
    .then(function(rows) {
            //Do something with rows
        });

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 Elliott B. Edwards
Licensed under the MIT license.