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 97eea2d commit 2c3adf2Copy full SHA for 2c3adf2
packages/pg-pool/README.md
@@ -136,7 +136,7 @@ because its so common to just run a query and return the client to the pool afte
136
var pool = new Pool()
137
var time = await pool.query('SELECT NOW()')
138
var name = await pool.query('select $1::text as name', ['brianc'])
139
-console.log(name.rows[0].name, 'says hello at', time.rows[0].name)
+console.log(name.rows[0].name, 'says hello at', time.rows[0].now)
140
```
141
142
you can also use a callback here if you'd like:
0 commit comments