Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

el2iot2/sqlite3-as-promised

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published