Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.org/getting-started/python/query/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
*Referrer*: https://docs.mongodb.org/getting-started/python/
*Screen Resolution*: 1680 x 1050
*repo*: docs
*source*: query
Description
section segment:
To sort by multiple keys, pass a list of keys and sort type pairs. For example, the following operation returns all documents in the restaurants collection, sorted first by the borough field in ascending order, and then, within each borough, by the "address.zipcode" field in 【ascending】 order:
Issue:
the last sort type "ascending" should be "descending".
E-mail: qqbuby@gmail.com![]()
Attachments
Issue Links
- duplicates
-
DOCS-6502 Comment on: "primer/query.txt"
-
- Closed
-