MONGOC_URI_HAS_OPTION(3) libmongoc MONGOC_URI_HAS_OPTION(3)

bool
mongoc_uri_has_option (const mongoc_uri_t *uri, const char *option);


  • uri: A mongoc_uri_t.
  • option: The name of an option, case insensitive.

Returns true if the option was present in the initial MongoDB URI.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0