[DOCS-1355] Document mongo.setReadPref() method Created: 08/Apr/13 Updated: 30/Oct/23 Resolved: 26/Apr/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jeremy Mikola | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 10 years, 42 weeks, 5 days ago | ||||||||
| Description |
|
The cursor.readPref() method is documented, but I found no reference in the manual to the connection-level read preference method. Since no helper methods exist on the database and collection objects (akin to setSlaveOk()), the connection-level method is essential to easily configure read preferences for multiple queries and commands. |
| Comments |
| Comment by auto [ 26/Apr/13 ] |
|
Author: {u'date': u'2013-04-23T16:09:31Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |