Click or drag to resize

MapReduceOutputMode Enumeration

Note: This API is now obsolete.

Represents the output mode for a map-reduce operation.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
[ObsoleteAttribute("Use Aggregation pipeline instead.")]
public enum MapReduceOutputMode
Members
  Member nameValueDescription
Inline0 The output of the map-reduce operation is returned inline.
Replace1 The output of the map-reduce operation replaces an existing collection.
Merge2 The output of the map-reduce operation is merged with an existing collection.
Reduce3 The output of the map-reduce operation is merged with an existing collection using the reduce function.
See Also