mongoc_read_prefs_set_tags()
Sets the tags to be used for the read preference. Only mongod instances matching these tags will be suitable for handling the request.
- Provided by: libmongoc-doc (Version: 1.3.1-1)
- Source: libmongoc
- Report a bug
Sets the tags to be used for the read preference. Only mongod instances matching these tags will be suitable for handling the request.
void
mongoc_read_prefs_set_tags (mongoc_read_prefs_t *read_prefs,
const bson_t *tags);
Sets the tags to be used for the read preference. Only mongod instances matching these tags will be suitable for handling the request.
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.