-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Administrative Commands
-
None
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?