table of contents
| MONGOC_READ_PREFS_GET_HEDGE(3) | libmongoc | MONGOC_READ_PREFS_GET_HEDGE(3) |
Deprecated since version MongoDB: Server 8.0
Hedged reads are deprecated in MongoDB version 8.0 and will be removed in a future release.
SYNOPSIS¶
const bson_t * mongoc_read_prefs_get_hedge (const mongoc_read_prefs_t *read_prefs);
PARAMETERS¶
- •
- read_prefs: A mongoc_read_prefs_t <>.
DESCRIPTION¶
Fetches any read preference hedge document that has been registered.
RETURNS¶
Returns a bson_t <https://www.mongoc.org/libbson/current/bson_t.html> that should not be modified or freed.
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| December 11, 2025 | 2.2.1 |