MongoDB request DSL • opensavvy.ktmongo.dsl.options • ReadPreference • values
values¶
fun values(): Array<ReadPreference>
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.