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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
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