Interpret $query as special so you can copy profiler/logged queries into shell

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Shell, Usability
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the query starts with [$]query (like db.coll.find({$query:{...}})) then we should set the _special boolean to true. This will allow running this:

      db.coll.find({$query:...}).explain()
      

              Assignee:
              David Storch
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: