Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ToAsyncEnumerable() set the QueryStatistics.TotalResult #3218

Merged
merged 1 commit into from
May 20, 2024

Conversation

e-tobi
Copy link
Contributor

@e-tobi e-tobi commented May 19, 2024

TotalResult will not be available before enumeration of the result started. But I think, this might still be useful for providing progress information when iterating over a large result set.

This is the easiest / least "intrusive" implementation I could come up with.

Note: TotalResult will not be available before enumeration of
the result started!
@e-tobi e-tobi changed the title Make ToAssyncEnumerable() set the QueryStatistics.TotalResult Make ToAsyncEnumerable() set the QueryStatistics.TotalResult May 19, 2024
@jeremydmiller jeremydmiller merged commit 3298fd1 into JasperFx:master May 20, 2024
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants