MONGOC_URI_OPTION_IS_INT64(3)

πŸ’– MONGOC_URI_OPTION_IS_INT64(3) πŸ’–

okay bestie, so this one is from the libmongoc crew β€” yes, that libmongoc, the MongoDB C driver manual. and honestly? it's a little one-page icon. tiny function, big "do I know this option" energy. let's get into it. πŸŽ€


✨ SYNOPSIS ✨

like, here's the whole shape of it:

bool
mongoc_uri_option_is_int64 (const char *option);

that's it. that's the girl. returns a bool, takes a const char *. slay. πŸ’…


πŸ¦‹ PARAMETERS πŸ¦‹

  • option β€” the name of an option, and ngl it's case insensitive, so don't stress about the caps, she's not judging you. πŸ™ˆ

🌸 DESCRIPTION 🌸

so what does she do? she returns true if the option you handed her is a known MongoDB URI option of 64-bit integer type. that's the whole vibe check.

for example (and this is literally the example, keep it safe):

"wTimeoutMS=100" is a valid 64-bit integer MongoDB URI option.

which means:

mongoc_uri_option_is_int64 ("wTimeoutMS") is true. πŸ’€βœ¨ like, she ate. she knows her own people.

lowkey important: she's only saying "yep, that's a known int64 URI option." she is not validating whatever number you typed after the =. don't put words in her mouth, bestie. 🫢

πŸ‘€ SEE ALSO πŸ‘€

  • mongoc_uri_option_is_int32() β€” her int32 sister, equally iconic, different width. iykyk.

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc


2009-present, MongoDB, Inc.


and that's the whole page, no cap. this gorgeous little manual is libmongoc 2.5.6, dated Oct 09, 2026 β€” signed off with love by the MongoDB manual girlies. periodt. πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from