mongoc_read_prefs_add_tag(3)

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.

February 10, 2026 1.30.7