Add result to row event

This makes the `result` object available from the row event.
This commit is contained in:
Cameron Howey 2012-03-26 09:05:34 -04:00
parent 90d4d2d070
commit f978cc6379

View File

@ -61,7 +61,7 @@ p.handleDataRow = function(msg) {
row[self._fieldNames[i]] = self._fieldConverters[i](rawValue);
}
}
self.emit('row', row);
self.emit('row', row, self._result);
//if there is a callback collect rows
if(self.callback) {