DOKK / manpages / debian 13 / libmongoc-doc / mongoc_uri_option_is_int32.3.en
MONGOC_URI_OPTION_IS_INT32(3) libmongoc MONGOC_URI_OPTION_IS_INT32(3)

bool
mongoc_uri_option_is_int32 (const char *option);


option: The name of an option, case insensitive.

Returns true if the option is a known MongoDB URI option of integer type. For example, "zlibCompressionLevel=5" is a valid integer MongoDB URI option, so mongoc_uri_option_is_int32 ("zlibCompressionLevel") is true. This will also return true for all 64-bit integer options.

SEE ALSO:

mongoc_uri_option_is_int64()



MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4