added result object

This commit is contained in:
Brian Carlson 2011-01-18 22:39:07 -06:00
parent fcd1fd563b
commit 1aee4786a0
2 changed files with 13 additions and 0 deletions

View File

@ -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
View 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) {
};