@@ -43,10 +43,10 @@ What's New in 2.0
43
43
- The following methods return ``void`` instead of the raw command
44
44
response:
45
45
46
- - ``MongoDB\\ Client``: ``dropDatabase()``
47
- - ``MongoDB\\ Collection``: ``drop()``, ``dropIndex()``,
46
+ - ``MongoDB\Client``: ``dropDatabase()``
47
+ - ``MongoDB\Collection``: ``drop()``, ``dropIndex()``,
48
48
``dropIndexes()``, ``dropSearchIndex()``, ``rename()``
49
- - ``MongoDB\\ Database``: ``createCollection()``, ``drop()``,
49
+ - ``MongoDB\Database``: ``createCollection()``, ``drop()``,
50
50
``dropCollection()``, ``renameCollection()``
51
51
52
52
To learn more about breaking changes in this release, see the
@@ -82,13 +82,13 @@ improvements, and fixes:
82
82
- Removes the deprecated ``IndexInfo::isGeoHaystack()`` method.
83
83
84
84
- Removes the deprecated ``autoIndexId`` option for the
85
- ``MongoDB\\ Database::createCollection()`` method.
85
+ ``MongoDB\Database::createCollection()`` method.
86
86
87
87
- Drops support for map-reduce functionality by removing the following
88
88
deprecated methods and types:
89
89
90
- - ``MongoDB\\ Collection::mapReduce()``
91
- - ``MongoDB\\ MapReduceResult``
90
+ - ``MongoDB\Collection::mapReduce()``
91
+ - ``MongoDB\MapReduceResult``
92
92
93
93
You can rewrite map-reduce operations by using aggregation pipeline
94
94
stages such as ``$group`` and ``$merge``. To learn more, see
@@ -98,9 +98,9 @@ improvements, and fixes:
98
98
99
99
- Removes the following ``Iterator`` implementations:
100
100
101
- - ``MongoDB\\ Model\ \CollectionInfoIterator``
102
- - ``MongoDB\\ Model\ \DatabaseInfoIterator``
103
- - ``MongoDB\\ Model\ \IndexInfoIterator``
101
+ - ``MongoDB\Model\CollectionInfoIterator``
102
+ - ``MongoDB\Model\DatabaseInfoIterator``
103
+ - ``MongoDB\Model\IndexInfoIterator``
104
104
105
105
The :phpmethod:`MongoDB\Client::listDatabases()`,
106
106
:phpmethod:`MongoDB\Database::listCollections()`, and
0 commit comments