Skip to content

Commit bc8f6f2

Browse files
committed
Fix stream docs
1 parent 355ddde commit bc8f6f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const users = await sql`
111111
If you want to handle rows returned by a query one by one you can use `.stream` which returns a promise that resolves once there are no more rows.
112112
```js
113113

114-
await sql.stream`
114+
await sql`
115115
select created_at, name from events
116116
`.stream(row => {
117117
// row = { created_at: '2019-11-22T14:22:00Z', name: 'connected' }

0 commit comments

Comments
 (0)