Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6710

Comment on: "primer/query.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    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

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 10 weeks, 6 days ago