kmongo / org.litote.kmongo.coroutine / CoroutineMapReducePublisher / bypassDocumentValidation

bypassDocumentValidation

fun bypassDocumentValidation(bypassDocumentValidation: Boolean?): CoroutineMapReducePublisher<T> (source)

Sets the bypass document level validation flag.

Note: This only applies when an $out stage is specified.

Parameters

bypassDocumentValidation - If true, allows the write to opt-out of document level validation.

Return
this

Since
1.2

Mongodb
.driver.manual reference/command/aggregate/ Aggregation

Mongodb
.server.release 3.2