Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

const bson_t *

Author

       MongoDB, Inc

Description

       Fetches any read preference hedge document that has been registered.

Parameters

       • read_prefs: A mongoc_read_prefs_t.

Returns

       Returns a bson_t that should not be modified or freed.

Synopsis

          const bson_t *
          mongoc_read_prefs_get_hedge (const mongoc_read_prefs_t *read_prefs);

See Also