kmongo / org.litote.kmongo.coroutine / CoroutineMapReducePublisher / nonAtomic

nonAtomic

fun nonAtomic(nonAtomic: Boolean): CoroutineMapReducePublisher<T> (source)

Sets if the post-processing step will prevent MongoDB from locking the database.

Valid only with the MapReduceAction.MERGE or MapReduceAction.REDUCE actions.

Parameters

nonAtomic - if the post-processing step will prevent MongoDB from locking the database.

Return
this

Mongodb
.driver.manual reference/command/mapReduce/#output-to-a-collection-with-an-action output with an action