mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
removed debug output
This commit is contained in:
parent
37e958f779
commit
b98994ae39
@ -37,7 +37,6 @@ p.submit = function(connection) {
|
||||
var names = [];
|
||||
var rows = [];
|
||||
var handleRowDescription = function(msg) {
|
||||
console.log(JSON.stringify(msg));
|
||||
for(var i = 0; i < msg.fields.length; i++) {
|
||||
converters[i] = dataTypeParsers[msg.fields[i].dataTypeID] || noParse;
|
||||
names[i] = msg.fields[i].name;
|
||||
@ -48,7 +47,6 @@ p.submit = function(connection) {
|
||||
for(var i = 0; i < msg.fields.length; i++) {
|
||||
var rawValue = msg.fields[i];
|
||||
result[names[i]] = rawValue === null ? null : converters[i](rawValue);
|
||||
console.log(names[i] + ": " + result[names[i]]);
|
||||
}
|
||||
self.emit('row', result);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user