Skip to content

Commit af4e400

Browse files
authored
Merge branch 'v2.0' into DOCSP-43953-v2-iterator-changes
2 parents 73bd978 + dc9f6c2 commit af4e400

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

source/reference/method/MongoDBDatabase-createCollection.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,6 @@ Parameters
117117

118118
.. versionadded:: 1.9
119119

120-
* - flags
121-
- integer
122-
- Available for the MMAPv1 storage engine only to set the
123-
``usePowerOf2Sizes`` and ``noPadding`` flags.
124-
125-
The library provides constants that you can combine with a
126-
:php:`bitwise OR operator <language.operators.bitwise>` to set the flag
127-
values:
128-
129-
- ``MongoDB\Operation\CreateCollection::USE_POWER_OF_2_SIZES``: ``1``
130-
- ``MongoDB\Operation\CreateCollection::NO_PADDING``: ``2``
131-
132-
Defaults to ``1``.
133-
134120
* - indexOptionDefaults
135121
- array|object
136122
- Allows users to specify a default configuration for indexes when

source/whats-new.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ improvements, and fixes:
8181

8282
- Removes the deprecated ``IndexInfo::isGeoHaystack()`` method.
8383

84-
- Removes the deprecated ``autoIndexId`` option for the
84+
- Removes the deprecated ``autoIndexId`` and ``flags`` options for the
8585
``MongoDB\Database::createCollection()`` method.
8686

8787
- Drops support for map-reduce functionality by removing the following

0 commit comments

Comments
 (0)