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

Docs: Tutorial Improvement Suggestions

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 3.7.1
    • None
    • Docs

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: