Module: Mongo::Operation::ReadPreference

Included in:
Commands::CollectionsInfo, Commands::Command, Commands::Indexes, Mongo::Operation::Read::Query
Defined in:
lib/mongo/operation/read_preference.rb

Overview

Adds behaviour for updating the options and the selector for operations that need to take read preference into account.

Since:

  • 2.0.0

Constant Summary

SLAVE_OK =

The constant for slave ok flags.

Since:

  • 2.0.6

:slave_ok