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

Query Sort Order Validation

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • mongodb-2.6
    • mongodb-2.6
    • manual
    • None
    • true

    Description

      Sort order in queries will be limited to the following values in 2.6:

      • 1 for ascending
      • -1 for descending
      • {$meta: "textScore"} for text search (descending by score)

      All other values will be rejected by the query framework.

      Attachments

        Issue Links

          Activity

            People

              kay.kim@mongodb.com Kay Kim (Inactive)
              benety.goh@mongodb.com Benety Goh
              Jonathan Dahl Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 44 weeks, 5 days ago