Click or drag to resize

MapReduceOutputOptionsReduce Method

A reduce map-reduce output options.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public static MapReduceOutputOptions Reduce(
	string collectionName,
	string databaseName = null,
	Nullable<bool> sharded = null,
	Nullable<bool> nonAtomic = null
)

Parameters

collectionName
Type: SystemString
The name of the collection.
databaseName (Optional)
Type: SystemString
The name of the database.
sharded (Optional)
Type: SystemNullableBoolean
Whether the output collection should be sharded.
nonAtomic (Optional)
Type: SystemNullableBoolean
Whether the server should not lock the database for the duration of the reduce.

Return Value

Type: MapReduceOutputOptions
A reduce map-reduce output options.
See Also