-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.7
-
Component/s: Querying
-
None
we have query
db.meta.things.find({query:"1"})
we have a data
when we run
db.meta.things.find({query:{$in:[1,2]}})
error: { "$err" : "Can't canonicalize query: BadValue unknown top level operator: $in", "code" : 17287 }
so it is the same as if i run
db.meta.things.find({$query:{$in:[1,2]}})
- duplicates
-
SERVER-9812 User query is interpreted incorrectly if the first field is "query"
- Closed
- is related to
-
SERVER-6767 Interpret $query as special so you can copy profiler/logged queries into shell
- Closed