[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

GODRIVER-1163

Change-Id: I196e71f84532eb7a4203f84a7b16d67e9541bfa9
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/617a5bd5bb6f051523f8825b5dc141770e5cf49c

Generated at Thu Feb 08 08:35:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.