1MONGOC_URI_GET_OPTION_AS_BOOL(3)   libmongoc  MONGOC_URI_GET_OPTION_AS_BOOL(3)
2
3
4

NAME

6       mongoc_uri_get_option_as_bool - mongoc_uri_get_option_as_bool()
7

SYNOPSIS

9          bool
10          mongoc_uri_get_option_as_bool (const mongoc_uri_t *uri,
11                                         const char *option,
12                                         bool fallback);
13

PARAMETERS

15       · uri: A mongoc_uri_t.
16
17       · option: The name of an option, case insensitive.
18
19       · fallback: A default value to return.
20

DESCRIPTION

22       Returns  the  value  of  the URI option if it is set and of the correct
23       type (bool). If not set, or set to an invalid type, returns fallback.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.16.2                           Feb 25, 2020 MONGOC_URI_GET_OPTION_AS_BOOL(3)
Impressum