ReadPreferenceOption
class ReadPreferenceOption(val concern: ReadPreference, val context: <Error class: unknown class>) : AbstractOption(source)
Specifies the read preference for an operation.
To learn more about read preferences, see ReadPreference. To apply this option, see WithReadPreference.
Functions
Link copied to clipboard
Returns a simplified (but equivalent) expression to the current expression.
Link copied to clipboard
Writes the result of simplifying to a new Bson.
Link copied to clipboard
Writes the result of simplifying this expression into writer.