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

DeleteOptions Hint is not working on DeleteMany

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: CRUD
    • None

      DeleteOptions Hint in deleteMany is not working.

      Error: (Location40415) BSON field 'delete.deletes.hint' is an unknown field.

      Code:
      deleteOptions := &options.DeleteOptions{
      Hint: bson.M

      {"example": 1}

      ,
      }
      _, err = coll.DeleteMany(ctx, filter, deleteOptions)
       

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            aravind.4svg@gmail.com Aravind Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: