mongoc_read_prefs_is_valid man page

mongoc_read_prefs_is_valid ā€” mongoc_read_prefs_is_valid()

Synopsis

bool
mongoc_read_prefs_is_valid (const mongoc_read_prefs_t *read_prefs);

Parameters

Description

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

This only performs local consistency checks.

Returns

Returns true if the read pref is valid.

Author

MongoDB, Inc

Info

Oct 12, 2017 1.8.1 MongoDB C Driver