kmongo / org.litote.kmongo.coroutine / CoroutineCollection / withReadConcern

withReadConcern

fun withReadConcern(readConcern: ReadConcern): CoroutineCollection<T> (source)

Create a new MongoCollection instance with a different read concern.

Parameters

readConcern - the new ReadConcern for the collection

Return
a new MongoCollection instance with the different ReadConcern

Mongodb
.server.release 3.2

Since
1.2