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

Query Sort Order Validation

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • mongodb-2.6
    • Affects Version/s: mongodb-2.6
    • Component/s: manual
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved:
              10 years, 6 weeks, 1 day ago