kmongo / org.litote.kmongo.coroutine / CoroutineMapReducePublisher / collectionName

collectionName

fun collectionName(collectionName: String): CoroutineMapReducePublisher<T> (source)

Sets the collectionName for the output of the MapReduce

The default action is replace the collection if it exists, to change this use .action.

Parameters

collectionName - the name of the collection that you want the map-reduce operation to write its output.

Return
this