-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
ALL
-
Using the .NET/C# Driver, the following MQL (as seen in the linked ticket) does not work:
{ Roles : { $elemMatch : { $or : [{ $eq : 1 }, { $eq : 2 }] } } }
Any suggestions for what the Driver should be doing instead?
{ Roles : { $in : [1, 2] } }
will work for this specific case but we want to support it using LINQ (LINQ is a general purpose translator and the arguments to $or might not be $eq comparisons.)
- is related to
-
CSHARP-2348 Search by condition with method Any (Linq) returns 0 documents when filter has OR condition
- Investigating