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

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

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

      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@mongodb.com David Storch
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: