ReduceIndex single key check is wrong
Opened this issue · 0 comments
sebastienros commented
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.