[DOCS-5852] Comment on: "manual/reference/operator/aggregation/last.txt" Created: 15/Jul/15  Updated: 03/Nov/17  Resolved: 17/Jul/15

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/operator/aggregation/last/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.134 Safari/537.36
Referrer: https://www.google.es/
Screen Resolution: 1440 x 900
repo: docs
source: reference/operator/aggregation/last


Participants:
Days since reply: 8 years, 30 weeks, 6 days ago

 Description   

The example is misleading. We thought that "$last" gives you the latest date on a calendar, but instead it is the last entry.

Also, the data provided in the example doesn't help to realize that. Switch the dates so the last item date it is not the latest date also.

Thanks!



 Comments   
Comment by Githook User [ 17/Jul/15 ]

Author:

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

Message: DOCS-5852 add sentence to explain the sort stage before group
Branch: master
https://github.com/mongodb/docs/commit/1e92a7d9178ab1007363e0e39e5100b4b852b8fe

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