MapReduceOutputOptionsReduce Method (String, String, NullableBoolean, NullableBoolean) |
Note: This API is now obsolete.
A reduce map-reduce output options.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax [ObsoleteAttribute("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
)
<ObsoleteAttribute("Use an overload of Reduce that does not have sharded and nonAtomic parameters instead.")>
Public Shared Function Reduce (
collectionName As String,
Optional databaseName As String = Nothing,
Optional sharded As Boolean? = Nothing,
Optional nonAtomic As Boolean? = Nothing
) As MapReduceOutputOptions
[<ObsoleteAttribute("Use an overload of Reduce that does not have sharded and nonAtomic parameters instead.")>]
static member Reduce :
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 reduce.
Return Value
Type:
MapReduceOutputOptionsA reduce map-reduce output options.
See Also