Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
Query Optimization
-
ALL
-
Description
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' }] } } }]) |
Attachments
Issue Links
- 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
-