Skip to content

Commit 29e2978

Browse files
committed
DOCSP-44238: v2 remove autoindex
1 parent 918de56 commit 29e2978

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
@@ -60,7 +60,7 @@ What's New in 2.0
6060
The {+library-short+} v2.0 release includes the following features,
6161
improvements, and fixes:
6262

63-
- Removal of deprecated fields in GridFS types.
63+
- Removes deprecated fields in GridFS types.
6464

6565
- The library does not calculate the ``md5`` field when a file is
6666
uploaded to GridFS. If your application requires a file digest, you
@@ -83,7 +83,10 @@ improvements, and fixes:
8383
:phpmethod:`MongoDB\Collection::find()` or
8484
:phpmethod:`MongoDB\Collection::findOne()` API documentation.
8585

86-
- Removal of the deprecated ``IndexInfo::isGeoHaystack()`` method.
86+
- Removes the deprecated ``IndexInfo::isGeoHaystack()`` method.
87+
88+
- Removes the deprecated ``autoIndex`` option for the
89+
``MongoDB\\Database::createCollection()`` method.
8790

8891
- Drops support for map-reduce functionality by removing the following
8992
deprecated methods and types:
@@ -97,6 +100,8 @@ improvements, and fixes:
97100
</reference/map-reduce-to-aggregation-pipeline/>` in the
98101
{+mdb-server+} manual.
99102

103+
- Removes
104+
100105
.. _php-lib-version-1.20:
101106

102107
What's New in 1.20

0 commit comments

Comments
 (0)