insert_many does not return whether transaction was acknowledged

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The official specification for insert_many is that it returns both a list of inserted ID's, but also whether the transaction was acknowledged (https://docs.mongodb.com/manual/reference/method/db.collection.insertMany/). This is followed by PyMongo as well, but it seems that the C++ driver does not return this (http://mongodb.github.io/mongo-cxx-driver/api/mongocxx-v3/classmongocxx_1_1result_1_1insert__many.html).

      Is there a reason for this?

            Assignee:
            Unassigned
            Reporter:
            w
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: