Add topology helper to update command with read preference

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.9.0-alpha
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Because the server selection spec mandates that $readPreference is set only in certain circumstances depending on the topology and server type, we should add a topology helper that takes a Command, a ServerType, and a SelectionCriteria, and updates the Command as needed.

            Assignee:
            Samuel Rossi (Inactive)
            Reporter:
            Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: