Provided by: libmongoc-doc_1.3.1-1_all bug

NAME

       mongoc_read_mode_t - Read Preference Modes

SYNOPSIS

       typedef enum
       {
          MONGOC_READ_PRIMARY             = (1 << 0),
          MONGOC_READ_SECONDARY           = (1 << 1),
          MONGOC_READ_PRIMARY_PREFERRED   = (1 << 2) | MONGOC_READ_PRIMARY,
          MONGOC_READ_SECONDARY_PREFERRED = (1 << 2) | MONGOC_READ_SECONDARY,
          MONGOC_READ_NEAREST             = (1 << 3) | MONGOC_READ_SECONDARY,
       } mongoc_read_mode_t;

DESCRIPTION

       This enum describes how reads should be dispatched. The default is MONGOC_READ_PRIMARY.

       Please see the MongoDB website for a description of Read Preferences \&.

COLOPHON

       This     page     is     part     of    MongoDB    C    Driver.     Please    report    any    bugs    at
       https://jira.mongodb.org/browse/CDRIVER.

MongoDB C Driver                                   2016‐01‐18                              MONGOC_READ_MODE_T(3)