Skip to content

Commit 7bec614

Browse files
committed
DOCSP-44238: v2 remove autoindex
1 parent 6b37fef commit 7bec614

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

source/reference/method/MongoDBDatabase-createCollection.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,20 +57,6 @@ Parameters
5757
- Type
5858
- Description
5959

60-
* - autoIndexId
61-
- boolean
62-
- Specify ``false`` to disable the automatic creation of an index on the
63-
``_id`` field.
64-
65-
.. important::
66-
67-
For replica sets, do not set ``autoIndexId`` to ``false``.
68-
69-
.. deprecated:: 1.4
70-
As of MongoDB 4.0, this option cannot be ``false`` when creating a replicated
71-
collection (i.e. a collection outside of the ``local`` database in
72-
any mongod mode).
73-
7460
* - capped
7561
- boolean
7662
- To create a capped collection, specify ``true``. If you specify

source/whats-new.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ What's New in 2.0
5656
The {+library-short+} v2.0 release includes the following features,
5757
improvements, and fixes:
5858

59-
- Removal of deprecated fields in GridFS types.
59+
- Removes deprecated fields in GridFS types.
6060

6161
- The library does not calculate the ``md5`` field when a file is
6262
uploaded to GridFS. If your application requires a file digest, you
@@ -79,7 +79,10 @@ improvements, and fixes:
7979
:phpmethod:`MongoDB\Collection::find()` or
8080
:phpmethod:`MongoDB\Collection::findOne()` API documentation.
8181

82-
- Removal of the deprecated ``IndexInfo::isGeoHaystack()`` method.
82+
- Removes the deprecated ``IndexInfo::isGeoHaystack()`` method.
83+
84+
- Removes the deprecated ``autoIndex`` option for the
85+
``MongoDB\\Database::createCollection()`` method.
8386

8487
- Drops support for map-reduce functionality by removing the following
8588
deprecated methods and types:
@@ -93,6 +96,8 @@ improvements, and fixes:
9396
</reference/map-reduce-to-aggregation-pipeline/>` in the
9497
{+mdb-server+} manual.
9598

99+
- Removes
100+
96101
.. _php-lib-version-1.20:
97102

98103
What's New in 1.20

0 commit comments

Comments
 (0)