Comparing version 0.2.3 to 0.2.4
@@ -34,3 +34,2 @@ var PQ = module.exports = require('bindings')('addon.node').PQ; | ||
assert(cb, 'Must provide a connection callback'); | ||
console.log(paramString, cb) | ||
this.$connect(paramString, cb); | ||
@@ -37,0 +36,0 @@ }; |
{ | ||
"name": "libpq", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "Low-level native bindings to PostgreSQL libpq", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,3 +30,2 @@ var PQ = require('../') | ||
this.pq.connectSync(); | ||
this.pq.exec('SELECT NOW() as my_col'); | ||
}); | ||
@@ -38,2 +37,7 @@ | ||
it('executes query', function() { | ||
this.pq.exec('SELECT NOW() as my_col'); | ||
assert.equal(this.pq.resultStatus(), 'PGRES_TUPLES_OK'); | ||
}) | ||
it('has 1 tuple', function() { | ||
@@ -40,0 +44,0 @@ assert.equal(this.pq.ntuples(), 1); |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
45935
26
644
0
1