updated docs to reflect row datatype change
This commit is contained in:
parent
95ee9e645c
commit
3bb989962c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user