mongoc_uri_set_read_prefs_t man page

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

Synopsis

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

Parameters

uri
A mongoc_uri_t
rc
A mongoc_read_prefs_t

Description

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

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐11‐07 MongoDB C Driver