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

    XMLWordPrintable

    Details

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

      Description

      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()
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: