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

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: