Need ability to run a command and get back a cursor

XMLWordPrintableJSON

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

              Assignee:
              David Golden
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: