Skip to content

Commit

Permalink
docs: correct jsonb usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Mar 26, 2022
1 parent 45567ac commit 7e56c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .README/QUERY_BUILDING.md
Expand Up @@ -193,7 +193,7 @@ Serializes value and binds it as a JSON binary, e.g.

```js
await connection.query(sql`
SELECT (${sql.json([1, 2, 3])})
SELECT (${sql.jsonb([1, 2, 3])})
`);

```
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -1542,7 +1542,7 @@ Serializes value and binds it as a JSON binary, e.g.
```js
await connection.query(sql`
SELECT (${sql.json([1, 2, 3])})
SELECT (${sql.jsonb([1, 2, 3])})
`);

```
Expand Down

0 comments on commit 7e56c94

Please sign in to comment.