1MONGOC_URI_SET_OPTION_AS_INT32(3)  libmongoc MONGOC_URI_SET_OPTION_AS_INT32(3)
2
3
4

NAME

6       mongoc_uri_set_option_as_int32 - mongoc_uri_set_option_as_int32()
7

SYNOPSIS

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

PARAMETERS

15       · uri: A mongoc_uri_t.
16
17       · option: The name of an option, case insensitive.
18
19       · value: 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 integer can be set.  Some  integer  options,
26       such as minHeartbeatFrequencyMS, have additional constraints.
27
28       Updates the option in-place if already set, otherwise appends it to the
29       URI's bson_t of options.
30

RETURNS

32       True if successfully set (the named option is a known  option  of  type
33       int32 or int64).
34

SEE ALSO

36       · mongoc_uri_set_option_as_int64()
37

AUTHOR

39       MongoDB, Inc
40
42       2017-present, MongoDB, Inc
43
44
45
46
471.16.2                           Feb 25, 2020MONGOC_URI_SET_OPTION_AS_INT32(3)
Impressum