[DRIVERS-448] Aggregation, runCommand, and index management examples for Docs Created: 02/Feb/18 Updated: 01/Jun/23 Resolved: 22/Mar/23 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | Docs Examples |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | documentation | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 [ 01/Jun/23 ] |
|
Author: {'name': 'Jérôme Tamarelle', 'email': 'jerome.tamarelle@mongodb.com', 'username': 'GromNaN'}Message: https://jira.mongodb.org/browse/DRIVERS-448 |
| Comment by Githook User [ 28/Apr/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
The example removed from
To simplify the example.
`mongoc_collection_command`, `mongoc_database_command` and `mongoc_client_command` return a cursor. They are documented as `superseded` by other helpers.
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com> --------- Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com> |
| Comment by Githook User [ 28/Apr/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
The example removed from
C driver 1.21.0 requires server version 3.6 (minWireVersion=6) |
| Comment by Githook User [ 08/Mar/18 ] |
|
Author: {'email': 'jmikola@gmail.com', 'name': 'Jeremy Mikola', 'username': 'jmikola'}Message: Update createIndexes example for PHP This example was linking to the current PHP driver but showing syntax from the legacy driver. Updated to correctly link to the current PHP library API. Keeping "PHP Driver" language in place for consistency, despite the fact that this is handled by the library. These examples may change later with |