fun finalizeFunction(finalizeFunction: String): CoroutineMapReducePublisher<T>
(source)
Sets the JavaScript function that follows the reduce method and modifies the output.
finalizeFunction
- the JavaScript function that follows the reduce method and modifies the output.
Return
this
Mongodb
.driver.manual reference/command/mapReduce/#mapreduce-finalize-cmd Requirements for the finalize Function