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

Document that $natural sorts cannot be used with views

    XMLWordPrintableJSON

Details

    Description

      Users cannot request a $natural sort on a view; that is,

      db.view.find().sort({$natural: 1})
      

      will fail. It would be nice if we added this behavior to core/views.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 8 weeks ago