-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 2.1.2, 2.6.3
-
Component/s: Querying
-
ALL
-
Query 2019-11-04, Query 2019-11-18
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The following projection operation should likely throw a user assertion (or return nothing) due to matching an embedded object instead of the intended array:
> db.a.save( { a:{b:1} } ) > db.a.find( { a:{b:1} }, { 'a.$':1 } ) { "_id" : ObjectId("4fe0f094026e93e0aaef076d"), "a" : { } }