1.1.3 • Published 9 years ago

pg-connection v1.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

PgConnection

A wrapper for the pg library that supports transactions and uses promises.

Basic usage

pgConnection.connect(function(db) {
    var select = "SELECT * FROM myTable";

    db.find(select).then(function(data) {
        response.send(data);
    }, function(err) { throw err; );
});
1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago