Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
*Location*: http://docs.mongodb.org/manual/reference/operator/update/pull/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0
*Screen Resolution*: 1366 x 768
*repo*: docs
*source*: reference/operator/update/pull
Description
In the examples there is a passage:
"
After the operation, the results array contains no documents that contains score field equal to 8 and item field equal to "B":
{
"_id" : 1,
"results" : [
]
}
{
"_id" : 2,
"results" : [
,
{ "item" : "B", "score" : 4 } ]
}
"
Should the object with "_id: 2" not have an empty "results" array? Or am I misunderstanding something?