Skip to content

Commit c3c89d6

Browse files
Fix SQL syntax in 2-queries.mdx (#170)
1 parent 1f9b386 commit c3c89d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: content/features/2-queries.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ By default node-postgres reads rows and collects them into JavaScript objects wi
172172

173173
```js
174174
const query = {
175-
text: 'SELECT $1::text as first_name, select $2::text as last_name',
175+
text: 'SELECT $1::text as first_name, $2::text as last_name',
176176
values: ['Brian', 'Carlson'],
177177
rowMode: 'array',
178178
}

0 commit comments

Comments
 (0)