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

pymongo insert_many ordered not working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.7.2
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Environment:
      windows 10 with python 3.6

      Description

      when using pymongo insert_many() with ordered=False, it cannot insert the rest of the documents on failure.

      for example when trying to insert [\{'test.key':'1'},\{'test_key':2}], the insert_many operation will failed at the first dictionary, unable to continue to insert for the 2nd dictionary

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              behackett Bernie Hackett
              Reporter:
              songsonggaojurong songsonggaojurong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: