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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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