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

Incorrect parameter name at "collection" method "remove" [pymongo docs]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:

      Description

      Hello,

      I just was confused with parameter name of method "remove":
      at the beginning it's defined as "spec_or_object_id", but then it's defined as "spec_or_id"

      http://api.mongodb.org/python/current/api/pymongo/collection.html#pymongo.collection.Collection.remove

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: