File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ The following is a detailed collection of the changes in the major v5 release of
16
16
17
17
## Changes
18
18
19
+ ### ` Collection.mapReduce() ` helper removed
20
+
21
+ The ` mapReduce ` helper has been removed from the ` Collection ` class. The ` mapReduce ` operation has been
22
+ deprecated in favor of the aggregation pipeline since MongoDB server version 5.0. It is recommended
23
+ to migrate code that uses ` Collection.mapReduce ` to use the aggregation pipeline.
24
+
25
+ If the ` mapReduce ` command must be used, the ` Db.command() ` helper can be used to run the raw
26
+ ` mapReduce ` command.
27
+
19
28
### ` AddUserOptions.digestPassword ` removed
20
29
21
30
The ` digestPassword ` option has been removed from the add user helper.
You can’t perform that action at this time.
0 commit comments