MONGOC_URI_SET_OPTION_AS_BOOL(3)
π MONGOC_URI_SET_OPTION_AS_BOOL(3) π
okay bestie, welcome to the MONGOC_URI_SET_OPTION_AS_BOOL(3) page β this is the libmongoc glow-up where you set one lil URI option to a bool after the URI has already been parsed from a string. no cap, it's giving "small but mighty". β¨
πΈ SYNOPSIS πΈ
bool
mongoc_uri_set_option_as_bool (const mongoc_uri_t *uri,
const char *option,
bool value);
π PARAMETERS π
uriβ amongoc_uri_t. your main character. πoptionβ the name of an option, case insensitive. say it however you want, she'll understand. πvalueβ the new value. the bool of the hour. π¦
π DESCRIPTION π
so like, this function sets an individual URI option after the URI has been parsed from a string. timing is everything, bestie. β°
only known options of type bool can be set β that's the vibe check, and not every option passes it. π«Ά
if the option is already set, it updates it in-place. if it's not, it appends it to the URI's bson_t of options. either way, she's getting in there. π«
π RETURNS π
True if successfully set β meaning the named option is a known option of type bool. that's the whole win condition. slay. π
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
and that's the page, bestie β brought to you by libmongoc, version 2.5.6, dated Oct 09, 2026, and yes the whole manual name is MONGOC_URI_SET_OPTION_AS_BOOL(3). periodt. πβ¨π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms