[DOCS-6502] Comment on: "primer/query.txt" Created: 31/Oct/15  Updated: 03/Nov/17  Resolved: 29/Mar/16

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: https://docs.mongodb.org/getting-started/python/query/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
Referrer: https://docs.mongodb.org/getting-started/python/insert/
Screen Resolution: 1440 x 960
repo: docs
source: query


Issue Links:
Duplicate
is duplicated by DOCS-6710 Comment on: "primer/query.txt" Closed
Participants:
Days since reply: 8 years, 15 weeks, 4 days ago

 Description   

Hi,

A small correction. Its descending not ascending in Sort Query Results (in Python version). Corrected in capitals in the paragraph below.

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 DESCENDING order


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