Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9281

Add setReadPref() JS method to database and collection objects

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.4.1
    • Component/s: JavaScript, Shell
    • None

      These would be alternatives to the older setSlaveOk() methods. Currently, one can only set read preferences at the connection and cursor level.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: