Map Reduce Flow
Deprecated
Map Reduce has been deprecated. Use Aggregation instead
Replace with
Flow implementation for map reduce operations.
Note: Starting in MongoDB 5.0, map-reduce is deprecated, prefer Aggregation instead
Parameters
The type of the result.
See also
Functions
Specify the MapReduceAction
to be used when writing to a collection.
Sets the number of documents to return per batch.
Sets the bypass document level validation flag.
Sets the collation options
Sets the collectionName for the output of the MapReduce
Sets the name of the database to output into.
Sets the query filter to apply to the query.
Sets the JavaScript function that follows the reduce method and modifies the output.
Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions. Defaults to false.
Sets the limit to apply.
Sets the global variables that are accessible in the map, reduce and finalize functions.
Sets the sort criteria to apply to the query.
Aggregates documents to a collection according to the specified map-reduce function with the given options, which must specify a non-inline result.
Sets whether to include the timing information in the result information.