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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Shell, Usability
    • 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

        Activity

          People

            david.storch@mongodb.com David Storch
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: