Click or drag to resize

MapReduceOutputOptionsMerge Method (String, String, NullableBoolean, NullableBoolean)

Note: This API is now obsolete.

A merge map-reduce output options.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
[ObsoleteAttribute("Use an overload of Merge that does not have sharded and nonAtomic parameters instead.")]
public static MapReduceOutputOptions Merge(
	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 merge.

Return Value

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