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

Remove explain attribute from aggregate command idl

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Execution

    Description

      Currently there are two ways to issue explain from aggregate command:

       

      db.runCommand({ explain: aggCmd });
      db.runCommand({ …aggCmd, explain: true });

      The first way is the preferred way, while the second one pre-dates the existence of the explain command.

       

      Explain attribute is not part of the stable API (code, documentation) and can be removed.

       

      PS: Noticed that aggregate::explain type is not boolean (based on idl definition), but rather explain verbosity and this verbosity is used later for explain

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: