-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: LINQ3
-
None
Translate:
document.A.Contains(c)
to:
{ A : { $elemMatch : { $eq : c } } }
instead of:
{ A : c }
To prevent certain transformations that apply to `{ A : c }` (but not for this `Contains` case) from being applied.
During final rendering (when no further transformations to the AST will occur) the first from can be rendered as the second form.
- is depended on by
-
CSHARP-3473 LINQ3: Get PredicateTranslatorTests to pass
- Closed