mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
added result object
This commit is contained in:
parent
fcd1fd563b
commit
1aee4786a0
@ -1,5 +1,6 @@
|
||||
var EventEmitter = require('events').EventEmitter;
|
||||
var sys = require('sys');var sys = require('sys');
|
||||
var Result = require(__dirname + "/result");
|
||||
|
||||
var Query = function(config) {
|
||||
this.text = config.text;
|
||||
|
||||
12
lib/result.js
Normal file
12
lib/result.js
Normal file
@ -0,0 +1,12 @@
|
||||
//result object returned from query
|
||||
//in the 'end' event and also
|
||||
//passed as second argument to provided callback
|
||||
var Result = function() {
|
||||
};
|
||||
|
||||
var p = Result.prototype;
|
||||
|
||||
//adds a command complete message
|
||||
p.addCommandComplete = function(msg) {
|
||||
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user