Mongo.ReadPreference (Mongodb v1.0.0) View Source

Determines which servers are considered suitable for read operations

Link to this section Summary

Link to this section Types

Specs

t() :: %{
  mode:
    :primary | :secondary | :primary_preferred | :secondary_preferred | :nearest,
  tag_sets: [%{required(String.t()) => String.t()}],
  max_staleness_ms: non_neg_integer()
}

Link to this section Functions