File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ cursor.addOption()
99 Use the :method:`cursor.addOption()` method on a cursor to add
1010 OP_QUERY wire protocol flags, such as the ``tailable`` flag.
1111
12- :param flag: OP_Query wire protocol flag. See :meta-driver:`MongoDB
13- wire protocol </legacy/mongodb-wire-protocol>` for more
14- information on MongoDB Wire Protocols and the OP_Query flags.
12+ :param flag: OP_QUERY wire protocol flag. See :meta-driver:`MongoDB
13+ wire protocol </legacy/mongodb-wire-protocol>` for more
14+ information on MongoDB Wire Protocols and the OP_QUERY
15+ flags.
1516
1617 For the :program:`mongo` shell, see the list of :ref:`cursor flags
1718 <cursor-flags>` available in the shell. For the driver-specific
@@ -25,7 +26,8 @@ cursor.addOption()
2526
2627 .. code-block:: javascript
2728
28- var cursor = db.myCappedCollection.find().addOption( DBQuery.Option.tailable ).addOption( DBQuery.Option.awaitData );
29+ var cursor = db.myCappedCollection.find().addOption(DBQuery.Option.tailable).
30+ addOption(DBQuery.Option.awaitData);
2931
3032 .. warning:: Adding incorrect wire protocol flags can cause problems
3133 and/or extra server load.
You can’t perform that action at this time.
0 commit comments