Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13433

Warn on sort by nonexistnet field?

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None

      db.collection.find().sort({pubdate: 1})
      

      doesn't warn at all that no documents had that attribute (allowing the user to figure out that they might have misspelled "pubDate").

      Any chance to implement this warning?

            Assignee:
            Unassigned Unassigned
            Reporter:
            dandv Dan Dascalescu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: