[DRIVERS-98] Aggregation command can optionally return a cursor Created: 24/Jun/13 Updated: 27/May/22 Resolved: 11/Nov/15 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Barrie Segal | Assignee: | Barrie Segal |
| Resolution: | Done | Votes: | 0 |
| Labels: | gb | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Server Compat: | 2.5 | ||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||
| Description |
|
The aggregation command on the server adds the ability to return a cursor on MongoDB 2.6. The drivers need to allow passing in off the cursor options and should return a cursor or iterator that allows to iterate over the results as well as to call subsequent getmore commands to exhaust the cursor. The cursor returned support getmore and killcursor wire protocol calls. Information about the format of the cursor command and returned results can be found at. http://docs.mongodb.org/manual/reference/command/aggregate/ |