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

insert with manipulate=False returns [None] instead of None

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.6
    • Affects Version/s: 2.5.2
    • Component/s: None
    • None
    • Minor Change

      collection.insert(doc, manipulate=False) should return None if doc is a dict with no _id field. Instead it returns [None].

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: