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

Comment on: "manual/reference/operator/aggregation/currentOp"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      I found a little mistake in this 3.6 docs.

      ```
      use admin
      db.aggregate( [ {
      $currentOp :

      { allUsers: true, idleConnections: true }

      }, {
      $match :

      { shard: "shard01" }

      }
      ] } )
      ```
      As you learnt, the last example of aggregation, there is more one right bracket at the last.

      Attachments

        Activity

          People

            sue.kerschbaumer@mongodb.com Susan Kerschbaumer (Inactive)
            miracleyoung0723@gmail.com Miracle Young
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 13 weeks, 6 days ago