MongoDB.MapReduce.Reduce C# (CSharp) Method

Reduce() public method

The reduce function receives a key and an array of values. To use, reduce the received values, and return a result.
The MapReduce engine may invoke reduce functions iteratively; thus, these functions must be idempotent. If you need to perform an operation only once, use a finalize function.
public Reduce ( Code function ) : MapReduce
function Code
return MapReduce
        public MapReduce Reduce(Code function)
        {
            TryModify();
            Command.Reduce = function;
            return this;
        }

Same methods

MapReduce::Reduce ( string function ) : MapReduce