You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deno/README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,7 @@ const users = [
266
266
]
267
267
268
268
awaitsql`
269
-
update users set name =update_data.name, (age =update_data.age)::int
269
+
update users set name =update_data.name, age =(update_data.age)::int
270
270
from (values${sql(users)}) as update_data (id, name, age)
271
271
whereusers.id= (update_data.id)::int
272
272
returning users.id, users.name, users.age
@@ -286,7 +286,7 @@ const users = await sql`
286
286
287
287
or
288
288
```js
289
-
const [{ a, b, c }] =>awaitsql`
289
+
const [{ a, b, c }] =awaitsql`
290
290
select
291
291
*
292
292
from (values${sql(['a', 'b', 'c']) }) as x(a, b, c)
@@ -913,7 +913,7 @@ The `Result` Array returned from queries is a custom array allowing for easy des
913
913
914
914
### .count
915
915
916
-
The `count` property is the number of affected rows returned by the database. This is usefull for insert, update and delete operations to know the number of rows since .length will be 0 in these cases if not using `RETURNING ...`.
916
+
The `count` property is the number of affected rows returned by the database. This is useful for insert, update and delete operations to know the number of rows since .length will be 0 in these cases if not using `RETURNING ...`.
0 commit comments