libpq
Advanced tools
Comparing version 0.2.5 to 0.3.0
10
index.js
@@ -218,2 +218,12 @@ var PQ = module.exports = require('bindings')('addon.node').PQ; | ||
//returns the status of the command | ||
PQ.prototype.cmdStatus = function() { | ||
return this.$cmdStatus(); | ||
}; | ||
//returns the tuples in the command | ||
PQ.prototype.cmdTuples = function() { | ||
return this.$cmdTuples(); | ||
}; | ||
//starts the 'read ready' libuv socket listener. | ||
@@ -220,0 +230,0 @@ //Once the socket becomes readable, the PQ instance starts |
{ | ||
"name": "libpq", | ||
"version": "0.2.5", | ||
"version": "0.3.0", | ||
"description": "Low-level native bindings to PostgreSQL libpq", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -7,3 +7,2 @@ var PQ = require('../'); | ||
pq.exec("INSERT INTO test_data(name, age) VALUES ('brian', 32), ('aaron', 30), ('', null);") | ||
pq.clear(); | ||
}; | ||
@@ -10,0 +9,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47568
28
669