Skip to content

Commit c7197d1

Browse files
committed
Merge pull request #478
2 parents 80dc68d + 78ceaad commit c7197d1

4 files changed

+2
-25
lines changed

source/includes/apiargs-MongoDBCollection-method-aggregate-option.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ description: |
1616
Specifies the initial batch size for the cursor. A batchSize of ``0`` means an
1717
empty first batch and is useful for quickly returning a cursor or failure
1818
message without doing significant server-side work.
19-
20-
.. note::
21-
22-
This is not supported for inline aggregation results (i.e. ``useCursor``
23-
option is ``false`` or the server version is < 2.6).
2419
interface: phpmethod
2520
operation: ~
2621
optional: true
@@ -83,12 +78,6 @@ type: boolean
8378
description: |
8479
Indicates whether the command will request that the server provide results
8580
using a cursor. The default is ``true``.
86-
87-
For MongoDB version 2.6 or later, ``useCursor`` allows users to turn off
88-
cursors if necessary to aid in replica set or shard cluster upgrades.
89-
90-
``useCursor`` is ignored for MongoDB versions prior to 2.6 as aggregation
91-
cursors are not available.
9281
interface: phpmethod
9382
operation: ~
9483
optional: true

source/includes/apiargs-MongoDBCollection-method-createIndex-option.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,8 @@ arg_name: option
6969
name: 2dsphereIndexVersion
7070
type: integer
7171
description: |
72-
Specifies the :manual:`version of a 2dsphere </core/2dsphere>` index to
73-
create.
74-
75-
MongoDB 2.6 introduced version 2 of 2dsphere indexes. Version 2 is the default
76-
version of 2dsphere indexes created in MongoDB 2.6 and later versions.
77-
``2dsphereIndexVersion`` enables you to override the default version 2.
72+
Overrides the server's default version for a :manual:`2dsphere
73+
</core/2dsphere>` index.
7874
interface: phpmethod
7975
operation: ~
8076
optional: true

source/reference/method/MongoDBBulkWriteResult-getModifiedCount.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ Return Values
3737
The total number of documents that were modified by all update and replace
3838
operations in the bulk write.
3939

40-
The modified count is not available on versions of MongoDB before 2.6, which
41-
used the legacy wire protocol version (i.e. ``OP_UPDATE``). If this is the case,
42-
the modified count will be ``null``.
43-
4440
Errors/Exceptions
4541
-----------------
4642

source/reference/method/MongoDBUpdateResult-getModifiedCount.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ Return Values
3535

3636
The number of documents that were modified.
3737

38-
The modified count is not available on versions of MongoDB before 2.6, which
39-
used the legacy wire protocol version (i.e. ``OP_UPDATE``). If this is the case,
40-
the modified count will be ``null``.
41-
4238
Errors/Exceptions
4339
-----------------
4440

0 commit comments

Comments
 (0)