Table of Contents

Method Merge

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Merge(string, string, bool?, bool?)

A merge map-reduce output options.

[Obsolete("Use an overload of Merge that does not have sharded and nonAtomic parameters instead.")]
public static MapReduceOutputOptions Merge(string collectionName, string databaseName = null, bool? sharded = null, bool? nonAtomic = null)

Parameters

collectionName string

The name of the collection.

databaseName string

The name of the database.

sharded bool?

Whether the output collection should be sharded.

nonAtomic bool?

Whether the server should not lock the database for the duration of the merge.

Returns

MapReduceOutputOptions

A merge map-reduce output options.

Merge(string, string)

A merge map-reduce output options.

public static MapReduceOutputOptions Merge(string collectionName, string databaseName)

Parameters

collectionName string

The name of the collection.

databaseName string

The name of the database.

Returns

MapReduceOutputOptions

A merge map-reduce output options.