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

Support "multi" option for Collection.remove

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 2.7
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: