Provided by: libmongoc-doc_1.30.2-1_all 

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. 1.30.2 Mar 05, 2025 MONGOC_READ_PREFS_GET_MODE(3)