Provided by: libmongoc-doc_2.2.1-1_all bug

SYNOPSIS

          mongoc_read_mode_t
          mongoc_read_prefs_get_mode (const mongoc_read_prefs_t *read_prefs);

PARAMETERS

read_prefs: A mongoc_read_prefs_t <>.

DESCRIPTION

       Fetches the mongoc_read_mode_t <> for the read preference.

RETURNS

       Returns the read preference mode.

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025                     MONGOC_READ_PREFS_GET_MODE(3)