updated docs to reflect row datatype change

This commit is contained in:
brianc 2010-11-04 00:24:51 -05:00
parent 95ee9e645c
commit 3bb989962c

View File

@ -39,9 +39,10 @@ fully TDD and with lots of love.
});
client.connect();
client.on('drain', client.end.bind(client));
var printRow = function(row) {
console.log(row.fields);
console.log(row);
};
var simpleQuery = client.query("select * from user where heart = 'big'");
@ -61,7 +62,6 @@ fully TDD and with lots of love.
});
cachedPreparedStatement.on('row', printRow);
cachedPreparedStatement.on('end', client.end());
### Philosophy