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
π COPYRIGHT π
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
- 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