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
There seems to be no way to tell a Request to pause emitting 'row' events. This makes it impossible to stream query data onward without causing a large buffer somewhere. The node-mysql adapter for instance has the capability to return a NodeJS ReadableStream which supports back-pressure.
The text was updated successfully, but these errors were encountered:
The issue is that Tedious doesn't currently support real streaming. @arthurschreiber started a stream based conversion in a pull request which would likely enable Tedious to support what you're looking for. Until that's completed, there's not really a good way to do what you're asking.
I'm going to close this, but feel free to continue discussion on the PR thread.
There seems to be no way to tell a Request to pause emitting 'row' events. This makes it impossible to stream query data onward without causing a large buffer somewhere. The node-mysql adapter for instance has the capability to return a NodeJS ReadableStream which supports back-pressure.
The text was updated successfully, but these errors were encountered: