Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
Translate the following three forms of Count comparisons:
collection.Where(x => x.L.Count == n)
|
collection.Where(x => x.E.Count() == n)
|
collection.Where(x => x.E.LongCount() == n)
|
to:
{ $match : { l : { $size : n } }
|
{ $match : { e : { $size : n } }
|
{ $match : { e : { $size : n } }
|
And also translate != Count comparisons.
Attachments
Issue Links
- is depended on by
-
CSHARP-3404 LINQ3: Get LegacyPredicateTranslatorTests to pass
-
- Closed
-