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

Add support for the comment field to all helpers

    XMLWordPrintableJSON

Details

    • 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 .

    Description

      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]

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: