diff --git a/content/features/2-queries.mdx b/content/features/2-queries.mdx index 4153d67..0deef0d 100644 --- a/content/features/2-queries.mdx +++ b/content/features/2-queries.mdx @@ -172,7 +172,7 @@ By default node-postgres reads rows and collects them into JavaScript objects wi ```js const query = { - text: 'SELECT $1::text as first_name, select $2::text as last_name', + text: 'SELECT $1::text as first_name, $2::text as last_name', values: ['Brian', 'Carlson'], rowMode: 'array', }