1MONGOC_READ_PREFS_NEW(3)           libmongoc          MONGOC_READ_PREFS_NEW(3)
2
3
4

NAME

6       mongoc_read_prefs_new - mongoc_read_prefs_new()
7

SYNOPSIS

9          mongoc_read_prefs_t *
10          mongoc_read_prefs_new (mongoc_read_mode_t read_mode)
11             BSON_GNUC_WARN_UNUSED_RESULT;
12

PARAMETERS

14read_mode: A mongoc_read_mode_t.
15

DESCRIPTION

17       Creates a new mongoc_read_prefs_t using the mode specified.
18

RETURNS

20       Returns a newly allocated mongoc_read_prefs_t that should be freed with
21       mongoc_read_prefs_destroy().
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.23.1                           Oct 20, 2022         MONGOC_READ_PREFS_NEW(3)
Impressum