sebastienros/yessql

ReduceIndex single key check is wrong

Opened this issue · 0 comments

https://github.com/sebastienros/yessql/blob/main/src/YesSql.Core/Session.cs#L1108-L1114

SingleOrDefault can throw an exception is the key is not unique.

Example: group by a key and store values with different cases on the same key. The db query will return all the values.

OrchardCMS/OrchardCore#12989