Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1430

insert_many does not return whether transaction was acknowledged

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: