[CXX-1514] Aggregation, runCommand, and index management examples for Docs Created: 09/Feb/18 Updated: 28/Oct/23 Resolved: 04/Apr/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.0-rc0 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Ryan Timmons |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Here are the examples. They should be delimited with
as has been done for the CRUD examples and such. I've attached the mongoexported datasets I used for the agg examples if one wants to make sure everything is working.
|
| Comments |
| Comment by Githook User [ 04/Apr/18 ] | |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: | |
| Comment by A. Jesse Jiryu Davis [ 28/Mar/18 ] | |
|
ryan.timmons could you look into this Travis failure?: https://travis-ci.org/mongodb/mongo-cxx-driver/jobs/359414637 It logged a server error,
Perhaps the original example was wrong, or the C++ translation of the example is wrong, or the server version we're testing against in Travis is too old for this use of $lookup. If the last of these is true, we'll need a guard against running the example against an old server. See get_max_wire_version and get_server_version in client_helpers.hh. | |
| Comment by Githook User [ 28/Mar/18 ] | |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: | |
| Comment by Ryan Timmons [ 19/Mar/18 ] | |
|
CR links for posterity because I can't get rietveld<->jira to play nicely: I created All of the examples are now present in master and are ready to be incorporated into docs. I don't know the workflow from this point - should this ticket be closed or re-assigned to track that work? | |
| Comment by Githook User [ 19/Mar/18 ] | |
|
Author: {'email': 'ryan.timmons@10gen.com', 'name': 'Ryan Timmons', 'username': 'rtimmons'}Message: | |
| Comment by Githook User [ 19/Mar/18 ] | |
|
Author: {'email': 'ryan.timmons@10gen.com', 'name': 'Ryan Timmons', 'username': 'rtimmons'}Message: | |
| Comment by Ryan Timmons [ 15/Mar/18 ] | |
|
Per Preliminary CR for the first two examples: | |
| Comment by A. Jesse Jiryu Davis [ 13/Mar/18 ] | |
|
Ryan, there are some JSON files attached to | |
| Comment by Ryan Timmons [ 12/Mar/18 ] | |
|
rathi.gnanasekaran i'm taking a look at this now. Also curious if you had the "expected" output of these queries - would save me from possibly having the incorrect results. (Forgive me if I'm being dense - new to the project so please lemme know if there's some background I may be missing.) | |
| Comment by A. Jesse Jiryu Davis [ 08/Mar/18 ] | |
|
Ryan, look at Submit a code review after writing the first few examples, don't do all the examples at once. |