Skip to content

Commit 64dacfb

Browse files
authored
Fix typo in Parameterized queries example (brianc#76)
1 parent 53fe729 commit 64dacfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/features/2-queries.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ client
5555

5656
// async/await
5757
try {
58-
const res = await pool.query(text, values)
58+
const res = await client.query(text, values)
5959
console.log(res.rows[0])
6060
// { name: 'brianc', email: 'brian.m.carlson@gmail.com' }
6161
} catch (err) {

0 commit comments

Comments
 (0)