Table of Contents

Enum MapReduceOutputMode

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents the output mode for a map-reduce operation.

[Obsolete("Use Aggregation pipeline instead.")]
public enum MapReduceOutputMode
Extension Methods

Fields

Inline = 0

The output of the map-reduce operation is returned inline.

Replace = 1

The output of the map-reduce operation replaces an existing collection.

Merge = 2

The output of the map-reduce operation is merged with an existing collection.

Reduce = 3

The output of the map-reduce operation is merged with an existing collection using the reduce function.