Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-742

Add support for the comment field to all helpers

    • Needed
    • Hide

      This change allows users to specific 'comment' field. The 'comment' has to be a top level field and can be of any type. The 'comment' field will be visible in profiler, logs and $currentOp for that command.

      Note that some commands (like find, aggregate) previously supported 'comment' field. But they could only be a string. With this change, the comment can be any valid BSON object. This will require changing the existing docs and possibly the drivers.

      Show
      This change allows users to specific 'comment' field. The 'comment' has to be a top level field and can be of any type. The 'comment' field will be visible in profiler, logs and $currentOp for that command. Note that some commands (like find, aggregate) previously supported 'comment' field. But they could only be a string. With this change, the comment can be any valid BSON object. This will require changing the existing docs and possibly the drivers.
    • Hide

      Drivers should add a new comment option to crud, change streams, index management, list databases and collection helper methods and add corresponding unified spec tests from mongodb/specifications@962fb5f.

      Show
      Drivers should add a new comment option to crud, change streams, index management, list databases and collection helper methods and add corresponding unified spec tests from mongodb/specifications@962fb5f .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4199 Fixed 1.22.0, 1.22.0-beta0
      CXX-2400 Fixed 3.7.0
      CSHARP-3929 Duplicate
      GODRIVER-2199 Done
      JAVA-4369 Fixed 4.6.0
      NODE-3699 Fixed 4.5.0
      PHPLIB-749 Fixed 1.13.0-beta1, 1.13.0
      MOTOR-843 Fixed 3.0
      RUBY-2822 Fixed 2.18.0
      RUST-1071 Fixed 2.4.0
      SWIFT-1385 Fixed 1.4.0
      PYTHON-2682 Fixed 4.1
      PHPC-2049 Fixed 1.14.0-beta1, 1.14.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4199 Fixed 1.22.0, 1.22.0-beta0 CXX-2400 Fixed 3.7.0 CSHARP-3929 Duplicate GODRIVER-2199 Done JAVA-4369 Fixed 4.6.0 NODE-3699 Fixed 4.5.0 PHPLIB-749 Fixed 1.13.0-beta1, 1.13.0 MOTOR-843 Fixed 3.0 RUBY-2822 Fixed 2.18.0 RUST-1071 Fixed 2.4.0 SWIFT-1385 Fixed 1.4.0 PYTHON-2682 Fixed 4.1 PHPC-2049 Fixed 1.14.0-beta1, 1.14.0

      Useful Info

      Summary

      This change allows users to specify a 'comment' field. The 'comment' has to be a top level field and can be of any type. The 'comment' field will be visible in profiler, logs and $currentOp for that command.

      Note that some commands (like find, aggregate) previously supported 'comment' field. But they could only be a string. With this change, the comment can be any valid BSON object. This will require changing the existing docs and possibly the drivers.

      Motivation

      Cast of Characters

      Lead:
       Author:
       POCs:
       Product Owner:
        

      Documentation

       
      [Scope Document]
      [Spec Document]

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: