DOKK / manpages / debian 10 / libmongoc-doc / mongoc_read_prefs_is_valid.3.en
MONGOC_READ_PREFS_IS_VALID(3) MongoDB C Driver MONGOC_READ_PREFS_IS_VALID(3)

mongoc_read_prefs_is_valid - mongoc_read_prefs_is_valid()

bool
mongoc_read_prefs_is_valid (const mongoc_read_prefs_t *read_prefs);


read_prefs: A mongoc_read_prefs_t.

Performs a consistency check of read_prefs to ensure it makes sense and can be satisfied.

This only performs local consistency checks.

Returns true if the read pref is valid.

MongoDB, Inc

2017-present, MongoDB, Inc

February 23, 2019 1.14.0