Skip to content

Improve performance of "queryunbuffered", and correctness of "first" APIs - #2121

Merged
mgravell merged 2 commits into
mainfrom
single-perf
Oct 9, 2024
Merged

Improve performance of "queryunbuffered", and correctness of "first" APIs#2121
mgravell merged 2 commits into
mainfrom
single-perf

Conversation

@mgravell

@mgravellmgravell commented Oct 8, 2024

Copy link
Copy Markdown
Member

see #2115

  • correctness: do no use SingleRow by default; affects trailing errors
  • performance: QueryUnbufferedAsync can mirror cmd?.Cancel() in finally (this is consistent with all other scenarios)

- correctness: do no use SingleRow by default; affects trailing errors
- performance: QueryUnbufferedAsync can mirror cmd?.Cancel() in finally (this is consistent with all other scenarios)
@mgravellmgravell changed the title Improve performance and correctness of "first" APIsImprove performance of "queryunbuffered", and correctness of "first" APIsOct 8, 2024
mgravell added a commit to DapperLib/DapperAOT that referenced this pull request Oct 8, 2024
@mgravell
mgravell merged commit b4f80b6 into mainOct 9, 2024
@mgravell
mgravell deleted the single-perf branch October 9, 2024 10:15
Sign up for freeto 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.

1 participant

@mgravell