[GODRIVER-1163] Retrieve a batch cursor from a cursor Created: 25/Jun/19 Updated: 28/Oct/23 Resolved: 25/Jun/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Per conversation with kris.brandow and david.golden: For MGOMIRROR-129 and other tools, it would be useful to have a way to get the next batch of documents from a cursor. Instead of adding a new method to the public cursor API, we can add an unstable method that returns the batch cursor member from a mongo.Cursor. |
| Comments |
| Comment by Divjot Arora (Inactive) [ 25/Jun/19 ] |
|
cr: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/459340 |
| Comment by Githook User [ 25/Jun/19 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Add BatchCursorFromCursor method Change-Id: I196e71f84532eb7a4203f84a7b16d67e9541bfa9 |