> db.test.explain().find({ "a" : { "$elemMatch" : { "$not" : { "$ne" : 400 } }}}) { "queryPlanner" : { "plannerVersion" : 1, "namespace" : "test.test", "indexFilterSet" : false, "parsedQuery" : { "a" : { "$elemMatch" : { "0" : { "" : { "$not" : { "$eq" : 400 } } } } } }, "queryHash" : "53768594", "planCacheKey" : "6A5A7DF0", "winningPlan" : { "stage" : "COLLSCAN", "filter" : { "a" : { "$elemMatch" : { "0" : { "" : { "$not" : { "$eq" : 400 } } } } } }, "direction" : "forward" }, "rejectedPlans" : [ ] }, "ok" : 1 } >
- is related to
-
SERVER-1454 Use $not as a top-level logical op
- Backlog