[CXX-507] write a few modern C++ driver examples Created: 30/Jan/15 Updated: 24/Apr/15 Resolved: 18/Feb/15 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.1.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Adam Midvidy | Assignee: | Adam Midvidy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Epic Link: | PM-123 | ||||
| Description |
|
and make a target for them in CMake. Rationale: people shouldn't have to read our unit tests to learn how to use our library. We should have examples for the following:
|
| Comments |
| Comment by Githook User [ 18/Feb/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Adam Midvidy [ 18/Feb/15 ] |
| Comment by Adam Midvidy [ 09/Feb/15 ] |
|
I think the primer examples are a good start, but we are going to need some C++ driver specific examples to explain how to properly handle our exceptions, and how to use bulk writes, among other things. |
| Comment by Adam Midvidy [ 30/Jan/15 ] |
|
We should also make some similar examples for the bson library. Currently it is quite difficult to figure out how to use it from reading the code. |