Use ReadPreference.mode for command query construction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0
    • Affects Version/s: 4.0.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/mongodb/node-mongodb-native/blob/3.5/lib/core/wireprotocol/command.js#L73

      This is checking for a property preference on a ReadPreference instance, and it should be looking for .mode

            Assignee:
            Thomas Reggi (Inactive)
            Reporter:
            Thomas Reggi (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: