Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-573

Need ability to run a command and get back a cursor

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Labels:
      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@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: