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

Add read preference option to db.RunCommand

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.9
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: