8000 More notes · mysqljs/mysql@0bb82d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0bb82d4

Browse files
committed
More notes
1 parent ccf4b19 commit 0bb82d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ Please note a few things about the example above:
211211
amount and size of your rows.
212212
* `pause()` / `resume()` operate on the underlaying socket and parser. You are
213213
guaranteed that no more `'row'` events will fire after calling `pause()`.
214+
* You MUST NOT provide a callback to the `query()` method when streaming rows.
215+
If you do so, all rows will be buffered for you, and you will not receive
216+
`'row'` events on the query object.
214217

215218
## Error Handling
216219

0 commit comments

Comments
 (0)
0