Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions source/reference/method/MongoDBDatabase-createCollection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,6 @@ Parameters
- Type
- Description

* - autoIndexId
- boolean
- Specify ``false`` to disable the automatic creation of an index on the
``_id`` field.

.. important::

For replica sets, do not set ``autoIndexId`` to ``false``.

.. deprecated:: 1.4
As of MongoDB 4.0, this option cannot be ``false`` when creating a replicated
collection (i.e. a collection outside of the ``local`` database in
any mongod mode).

* - capped
- boolean
- To create a capped collection, specify ``true``. If you specify
Expand Down
9 changes: 7 additions & 2 deletions source/whats-new.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ What's New in 2.0
The {+library-short+} v2.0 release includes the following features,
improvements, and fixes:

- Removal of deprecated fields in GridFS types.
- Removes deprecated fields in GridFS types.

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

- Removal of the deprecated ``IndexInfo::isGeoHaystack()`` method.
- Removes the deprecated ``IndexInfo::isGeoHaystack()`` method.

- Removes the deprecated ``autoIndex`` option for the
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be autoIndexId?

Suggested change
- Removes the deprecated ``autoIndex`` option for the
- Removes the deprecated ``autoIndexId`` option for the

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes!

``MongoDB\\Database::createCollection()`` method.

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

- Removes

.. _php-lib-version-1.20:

What's New in 1.20
Expand Down