Method Reduce
Reduce(string, string, bool?, bool?)
A reduce map-reduce output options.
[Obsolete("Use an overload of Reduce that does not have sharded and nonAtomic parameters instead.")]
public static MapReduceOutputOptions Reduce(string collectionName, string databaseName = null, bool? sharded = null, bool? nonAtomic = null)
Parameters
collectionNamestringThe name of the collection.
databaseNamestringThe name of the database.
shardedbool?Whether the output collection should be sharded.
nonAtomicbool?Whether the server should not lock the database for the duration of the reduce.
Returns
- MapReduceOutputOptions
A reduce map-reduce output options.
Reduce(string, string)
A reduce map-reduce output options.
public static MapReduceOutputOptions Reduce(string collectionName, string databaseName)
Parameters
Returns
- MapReduceOutputOptions
A reduce map-reduce output options.