fun withReadConcern(readConcern: ReadConcern): CoroutineCollection<T>
(source)
Create a new MongoCollection instance with a different read concern.
readConcern
- the new ReadConcern for the collection
Return
a new MongoCollection instance with the different ReadConcern
Mongodb
.server.release 3.2
Since
1.2