Docs: Tutorial Improvement Suggestions

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Steve Silvester
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: