Skip to content

Commit 9b6fc89

Browse files
CDTporsager
authored andcommitted
Update README.md
fixed typo
1 parent a5cd811 commit 9b6fc89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ const users = [
270270
]
271271

272272
await sql`
273-
update users set name = update_data.name, (age = update_data.age)::int
273+
update users set name = update_data.name, age = (update_data.age)::int
274274
from (values ${sql(users)}) as update_data (id, name, age)
275275
where users.id = (update_data.id)::int
276276
returning users.id, users.name, users.age
@@ -290,7 +290,7 @@ const users = await sql`
290290

291291
or
292292
```js
293-
const [{ a, b, c }] => await sql`
293+
const [{ a, b, c }] = await sql`
294294
select
295295
*
296296
from (values ${ sql(['a', 'b', 'c']) }) as x(a, b, c)

0 commit comments

Comments
 (0)