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
This is a great idea, and I've thought about this a bit before. The main problem is that a single Request does not mean you get a single "type" of rows - there's multiple rowstreams which each will come with their own column definitions.
Do you have a suggestion how this could be modeled?
@arthurschreiber I already have a working private implementation of an AsyncIterator for the Tedious Request class. I needed the functionality for a client project. I could use it as the basis for a PR.
Would you be interested in a PR from me, or have you already started development yourself?
I suggest to implement an
AsyncIterator
for theRequest
class.This would allow promise-based streaming of query results.
Example of how to use it:
The text was updated successfully, but these errors were encountered: