fun scope(scope: Bson): CoroutineMapReducePublisher<T>
(source)
Sets the global variables that are accessible in the map, reduce and finalize functions.
scope
- the global variables that are accessible in the map, reduce and finalize functions.
Return
this
Mongodb
.driver.manual reference/command/mapReduce mapReduce