action

abstract fun action(action: MapReduceAction): MapReduceFlow<TResult>

Specify the MapReduceAction to be used when writing to a collection.

Return

this

Parameters

action

an com.mongodb.client.model.MapReduceAction to perform on the collection