Details
-
New Feature
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
Description
The mongo tools need the ability to create a cursor from an arbitrary command (e.g. repairCursor).
Creating it manually is difficult as cursor building is buried in the core/topology package and requires a lot of private details (e.g. which server to go back to for getMore).
Could we add a "RunCursorCommand" method that takes an arbitrary command to run and returns a cursor object?