mongoc_uri_set_read_prefs_t - Man Page

mongoc_uri_set_read_prefs_t()

Synopsis

void
mongoc_uri_set_read_prefs_t (mongoc_uri_t *uri,
                             const mongoc_read_prefs_t *prefs);

Parameters

Description

Sets a MongoDB URI's read preferences, after the URI has been parsed from a string.

Author

MongoDB, Inc

Info

Jan 19, 2023 1.23.2 libmongoc