carta
mongoc_uri_set_option_as_utf8(3)

mongoc_uri_set_option_as_utf83

Parameters

•

uri: A mongoc_uri_t.

•

option: The name of an option, case insensitive.

•

value: The new value.

Overview

Sets an individual URI option, after the URI has been parsed from a string.

Only known string-type options can be set.

Updates the option in-place if already set, otherwise appends it to the URI's bson_t of options.

Returns

True if successfully set (the named option is a known option of string type).

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.