1MONGOC_URI_SET_OPTION_AS_BOOL(3)   libmongoc  MONGOC_URI_SET_OPTION_AS_BOOL(3)
2
3
4

NAME

6       mongoc_uri_set_option_as_bool - mongoc_uri_set_option_as_bool()
7

SYNOPSIS

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

PARAMETERS

15uri: A mongoc_uri_t.
16
17option: The name of an option, case insensitive.
18
19value: The new value.
20

DESCRIPTION

22       Sets  an  individual  URI  option, after the URI has been parsed from a
23       string.
24
25       Only known options of type bool can be set.
26
27       Updates the option in-place if already set, otherwise appends it to the
28       URI's bson_t of options.
29

RETURNS

31       True  if  successfully  set (the named option is a known option of type
32       bool).
33

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.20.0                           Nov 18, 2021 MONGOC_URI_SET_OPTION_AS_BOOL(3)
Impressum