We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 880a98f commit 5920155Copy full SHA for 5920155
README.md
@@ -341,7 +341,7 @@ await sql`
341
`.cursor(async([row]) => {
342
// row = { x: 1 }
343
await http.request('https://example.com/wat', { row })
344
-}
+})
345
```
346
347
##### for await...of
@@ -366,7 +366,7 @@ await sql`
366
await Promise.all(rows.map(row =>
367
http.request('https://example.com/wat', { row })
368
))
369
370
371
372
If an error is thrown inside the callback function no more rows will be requested and the outer promise will reject with the thrown error.
0 commit comments