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

15uri: A mongoc_uri_t.
16
17option: The name of an option, case insensitive.
18
19fallback: 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.24.3                           Aug 17, 2023 MONGOC_URI_GET_OPTION_AS_BOOL(3)
Impressum