[DOCS-2812] Comment on: "manual/reference/operator/aggregation/project.txt" Created: 27/Feb/14  Updated: 04/Mar/14  Resolved: 04/Mar/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.2

Type: Improvement Priority: Trivial - P5
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7, sprint-slipstream
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/operator/aggregation/project/
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0
Referrer: http://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDUQFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Foperator%2Faggregation%2Fproject&ei=fv8OU-qENKLO0wWywIHQCQ&usg=AFQjCNFgYl_3aM1HWDoBv0Bn7e8ghdGaag&bvm=bv.61965928,d.d2k
Screen Resolution: 1366 x 768
repo: docs
source: reference/operator/aggregation/project


Participants:
Days since reply: 9 years, 50 weeks, 1 day ago

 Description   

According to the collection structure, sorting by $grades.grade doesn't exist.
This should be $grades.0.grade.
The $ projection limit to one value but $grades is still an array.



 Comments   
Comment by Githook User [ 04/Mar/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2812 remove sort in example for positional query - not meaningful
Branch: v2.4
https://github.com/mongodb/docs/commit/770c0f2cd0f11dbf1a10fc9a6eff18540a2404f4

Comment by Githook User [ 04/Mar/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2812 remove sort in example for positional query - not meaningful
Branch: master
https://github.com/mongodb/docs/commit/04d25c1a46d7ebe1794e2f3c95f877fbe54de956

Generated at Thu Feb 08 07:44:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.