-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Documentation
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.