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

pymongo insert_many ordered not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 3.7.2
    • None
    • API
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: