diff --git a/content/features/2-queries.mdx b/content/features/2-queries.mdx index 22f7928..283d49f 100644 --- a/content/features/2-queries.mdx +++ b/content/features/2-queries.mdx @@ -55,7 +55,7 @@ client // async/await try { - const res = await pool.query(text, values) + const res = await client.query(text, values) console.log(res.rows[0]) // { name: 'brianc', email: 'brian.m.carlson@gmail.com' } } catch (err) {