kmongo / org.litote.kmongo.coroutine / CoroutineMapReducePublisher / action

action

fun action(action: MapReduceAction): CoroutineMapReducePublisher<T> (source)

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

Parameters

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

Return
this