[DOCS-1040] Add cursor.addOption() to reference section. Created: 24/Jan/13 Updated: 04/Mar/15 Resolved: 12/Apr/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | v1.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Zola | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 10 years, 44 weeks, 1 day ago |
| Description |
|
It's possible to add flags to mongoDB cursors to change the behavior of queries. These flags are documented in the wire protocol but are not documented as part of the cursor options. You can set these flags using the addOption() modifier, which is also not documented. Here's an example:
|
| Comments |
| Comment by auto [ 16/Apr/13 ] |
|
Author: {u'date': u'2013-04-12T15:24:46Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: Signed-off-by: Sam Kleinman <samk@10gen.com> |
| Comment by auto [ 16/Apr/13 ] |
|
Author: {u'date': u'2013-04-12T15:24:46Z', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: Signed-off-by: Sam Kleinman <samk@10gen.com> |