table of contents
| MONGOC_READ_PREFS_ADD_TAG(3) | libmongoc | MONGOC_READ_PREFS_ADD_TAG(3) |
SYNOPSIS¶
void mongoc_read_prefs_add_tag (mongoc_read_prefs_t *read_prefs, const bson_t *tag);
PARAMETERS¶
- read_prefs: A mongoc_read_prefs_t <>.
- tag: A bson_t <https://www.mongoc.org/libbson/current/bson_t.html>.
DESCRIPTION¶
This function shall add a tag to a read preference.
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| December 11, 2025 | 2.2.1 |