readPreference

abstract val readPreference: ReadPreference

Get the read preference for the MongoDatabase.

Return

the com.mongodb.ReadPreference