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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
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