Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-605

Support "multi" option for Collection.remove

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None

      A new parameter will be added to the existing remove method, named "multi" to match the update method. When set to True (the default) remove will keep its current behavior of removing all documents that match the query criteria. When set to False only the first matching document is removed.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: