Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2413

Add encryptedFields to Collection.Drop

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Major Change
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Background & Motivation

      GODRIVER-2391 requires an option to Collection.Drop:

      Drivers MUST have a BSON document option named ``encryptedFields`` in ``Collection.Drop()``.

      See https://github.com/mongodb/mongo-go-driver/pull/913/files#r867159962 for discussion on why this is a backwards break.

      Scope

      • Add a new DropCollectionOptions struct with a EncryptedFields option.

            Assignee:
            preston.vasquez@mongodb.com Preston Vasquez
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: