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

MultiMapAsync disposes reader in unbuffered query #2099

Open
Qetu107oz opened this issue Jun 30, 2024 · 0 comments
Open

MultiMapAsync disposes reader in unbuffered query #2099

Qetu107oz opened this issue Jun 30, 2024 · 0 comments

Comments

@Qetu107oz
Copy link

Qetu107oz commented Jun 30, 2024

  1. Create unbuffered CommandDefinition with flags CommandFlags.None.
  2. Call QueryAsync<TFirst, ..., TReturn>(command)

using var reader = await ExecuteReaderWithFlagsFallbackAsync(cmd, wasClosed, CommandBehavior.SequentialAccess | CommandBehavior.SingleResult, command.CancellationToken).ConfigureAwait(false);

@Qetu107oz Qetu107oz changed the title MultiMapAsync is disposing reader for unbuffered queriy MultiMapAsync is disposing reader for unbuffered query Jun 30, 2024
@Qetu107oz Qetu107oz changed the title MultiMapAsync is disposing reader for unbuffered query MultiMapAsync disposes reader for unbuffered query Jul 1, 2024
@Qetu107oz Qetu107oz changed the title MultiMapAsync disposes reader for unbuffered query MultiMapAsync disposes reader in unbuffered query Jul 1, 2024
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

No branches or pull requests

1 participant