-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
ALL
-
The following aggregate command works on 6.0 but not on earlier versions:
db.C.aggregate([{ $match : { $expr : { $eq : ['$$ROOT', { _id : 2, Name : 'Jane Doe' }] } } }])
- duplicates
-
SERVER-64764 $expr rewrite is not prepared to handle "$$ROOT"
- Closed
- related to
-
CSHARP-4244 Support object comparison at root level in LINQ3
- Closed