MapReduceOutputOptionsMerge Method |
A merge map-reduce output options.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public static MapReduceOutputOptions Merge(
string collectionName,
string databaseName = null,
Nullable<bool> sharded = null,
Nullable<bool> nonAtomic = null
)
Public Shared Function Merge (
collectionName As String,
Optional databaseName As String = Nothing,
Optional sharded As Nullable(Of Boolean) = Nothing,
Optional nonAtomic As Nullable(Of Boolean) = Nothing
) As MapReduceOutputOptions
static member Merge :
collectionName : string *
?databaseName : string *
?sharded : Nullable<bool> *
?nonAtomic : Nullable<bool>
(* Defaults:
let _databaseName = defaultArg databaseName null
let _sharded = defaultArg sharded null
let _nonAtomic = defaultArg nonAtomic null
*)
-> MapReduceOutputOptions
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:
MapReduceOutputOptionsA merge map-reduce output options.
See Also