kmongo / org.litote.kmongo.coroutine / CoroutineMapReducePublisher / sharded

sharded

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

Sets if the output database is sharded

Parameters

sharded - if the output database is sharded

Return
this

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