Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10089

Fix currentOp.op possiblities

    XMLWordPrintableJSON

Details

    Description

      The docs for db.currentOp() appear to be out of date as of 3.2. The docs give a list of 7 possible outputs for currentOp.op however it is missing the "command" value. While the docs specifically state that createIndexes would show up as a "query", it now shows up as a "command". I believe the docs are referencing the old implementation of queries that was changed in version of 3.2.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 45 weeks ago