mongoc_read_prefs_set_mode man page

mongoc_read_prefs_set_mode() — Sets the read preference mode. See the MongoDB website for more information on Read Preferences.

Synopsis

void
mongoc_read_prefs_set_mode (mongoc_read_prefs_t *read_prefs,
                            mongoc_read_mode_t   mode);

Parameters

read_prefs
A mongoc_read_prefs_t
mode
A mongoc_read_mode_t

Description

Sets the read preference mode. See the MongoDB website for more information on Read Preferences

Colophon

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

Info

2016‐10‐19 MongoDB C Driver