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.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
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