We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c31f6 commit 9286a66Copy full SHA for 9286a66
README.md
@@ -22,7 +22,7 @@ var conString = "tcp://postgres:1234@localhost/postgres";
22
//note: error handling omitted
23
var client = new pg.Client(conString);
24
client.connect(function(err) {
25
- client.query('SELECT NOW() AS theTime', function(err, result) {
+ client.query('SELECT NOW() AS "theTime"', function(err, result) {
26
console.log(result.rows[0].theTime);
27
//output: Tue Jan 15 2013 19:12:47 GMT-600 (CST)
28
})
0 commit comments