1MONGOC_URI_GET_OPTION_AS_BOOL(3) libmongoc MONGOC_URI_GET_OPTION_AS_BOOL(3)
2
3
4
6 mongoc_uri_get_option_as_bool - mongoc_uri_get_option_as_bool()
7
9 bool
10 mongoc_uri_get_option_as_bool (const mongoc_uri_t *uri,
11 const char *option,
12 bool fallback);
13
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
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
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)