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

Add read preference option to db.RunCommand

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.9
    • Affects Version/s: None
    • Labels:
      None

      In reference to db.RunCommand, the server selection spec says "The generic command method SHOULD allow an optional read preference argument". However, we opted not to provide read preference as an option for other operations in favor of having users set them directly on Client/Database/Collection. We should decide whether to break consistency with the other operations in order to more closely follow the specification, and if so, implement it.

            Assignee:
            roland.fong Roland Fong
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: