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

Docs: Tutorial Improvement Suggestions

      Re: https://mongocxx.org/mongocxx-v3/tutorial/

      "You can obtain this value using the inserted_ids() method of the returned mongocxx::result::insert_many instance" - It would be helpful to give an example here.

      In the "Access a Collection" section, we should use the variable name collection, since that is used for the rest of the tutorial.

      Ideally the names of the results would all be unique, such as delete_result, so you do not have to rename them yourself to prevent collisions.

      These changes would make it easier to follow along by copy/pasting and running the code incrementally.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: