reactivemongo.api.ReadPreference
See theReadPreference companion object
MongoDB read preference enables to read from primary or secondaries with a predefined strategy.
import reactivemongo.api.ReadPreference
val pref: ReadPreference = ReadPreference.primary
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes