[CDRIVER-2295] mongoc_collection_aggregate() example takes one extra argument Created: 21/Sep/17 Updated: 28/Oct/23 Resolved: 21/Sep/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | docs, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Josef Ahmad | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
As per documentation, mongoc_collection_aggregate() takes five arguments. However, the example at http://mongoc.org/libmongoc/current/mongoc_collection_aggregate.html#example passes six arguments to the function:
|
| Comments |
| Comment by Josef Ahmad [ 22/Sep/17 ] |
|
Thanks for pointing that out Jesse. |
| Comment by Githook User [ 21/Sep/17 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: |
| Comment by A. Jesse Jiryu Davis [ 21/Sep/17 ] |
|
Thanks Josef. When you find errors in drivers docs you can file tickets against the driver project, in this case CDRIVER. |