[SERVER-807] Array full match doesn't work with nested fields Created: 22/Mar/10  Updated: 12/Jul/16  Resolved: 22/Mar/10

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 1.3.5

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change
Participants:

 Description   

> db.test.drop()
false
> db.test.insert({a: [1], b: {a: [1]}})
> db.test.findOne(

{'a': [1]}

)
{
"_id" : ObjectId("4ba7b7c7b8c125a527c386fe"),
"a" : [
1
],
"b" :

{ "a" : [ 1 ] }

}
> db.test.findOne(

{'b.a': [1]}

)
null



 Comments   
Comment by Eliot Horowitz (Inactive) [ 26/Apr/10 ]

in a release

Comment by auto [ 22/Mar/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: arrays match themselves embedded as well SERVER-807
http://github.com/mongodb/mongo/commit/2b79d806c204fe7b4782df59067921fc22202d24

Generated at Thu Feb 08 02:55:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.