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

Add setReadPref() JS method to database and collection objects

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.4.1
    • JavaScript, Shell
    • None

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: