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

Option to allow server to generate ObjectId rather than driver

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible

      It seems that the pymongo driver generates the ObjectId itself, rather than letting the server do it. This seems less than ideal if you want to ensure a consistently increasing _id field for new documents added with insert_one. There should be an option for the driver to delegate that to the server, as recommended by the docs.

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

              Created:
              Updated:
              Resolved: