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

Add a FAQ entry about _id and document mutation

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1
    • Affects Version/s: None
    • Component/s: None
    • None

      PyMongo has always added an _id to any documents inserted though insert_one and related methods. This often trips up new users that expect their documents to stay "static" on insert. Add a FAQ entry that explains the hows and whys of this behavior and link to it from the docstrings for insert_one, insert_many, bulk_write, etc.

            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: