-
Notifications
You must be signed in to change notification settings - Fork 97
Allow CommandBehavior.SingleResult and SingleRow #220
Comments
We should already be ignoring SequentialAccess. I agree we should ignore more of these behaviors as long as they are just hints (and assuming we won't be actually taking advantage of them). |
PR #221 open to ignore the behavior for now - no harm in ignoring for now and adding actual optimizations later. |
|
👍 |
Agreed and cited |
+1 - PR Updated to ignore both behaviors. |
Any update on this? I'd really like for this simple change to be folded into the RC2 release. |
+another; pretty please with sprinkles on the top
|
Well, since you asked so nicely... 😉 Sorry for the delay. We were waiting to get the OK from one of our partner teams who is going to take a dependency on RC2. I'll go ahead and merge the PR. |
@bricelam any idea when there will be a 1.0.0-rc2 nuget package which includes this fix? |
We're getting reports in Dapper of breaks after recent optimizations for single-result queries such as this: DapperLib/Dapper#441
While in this case it's
CommandBehavior.SingleResult
, all behaviors are fair game for ADO.Net Providers. But let's take it one at a time - can Sqlite either ignore this optimization or support it?Related issue: #114
The text was updated successfully, but these errors were encountered: