downstairs
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -6,5 +6,7 @@ var pg = require('pg'); | ||
PGConnection.prototype.query = function(query, cb) { | ||
PGConnection.prototype.query = function(query, cb){ | ||
pg.connect(this.connectionString, function(err, client) { | ||
//log connection errors | ||
if (err) { | ||
return cb(err, client) | ||
} | ||
client.query(query, function(err, result) { | ||
@@ -11,0 +13,0 @@ //log query errors |
{ | ||
"name": "downstairs", | ||
"description": "A light ORM wrapped about brianc's node-sql and node-pg", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"homepage": "https://github.com/moneytribeaustralia/downstairs.js", | ||
@@ -6,0 +6,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44392
1001