Option to allow server to generate ObjectId rather than driver

XMLWordPrintableJSON

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

      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 Hackett
            Reporter:
            squiggly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: