MONGOC_FIND_A...ET_MAX_TIME_MS(3)

πŸ’… MONGOC_FIND_A...ET_MAX_TIME_MS πŸ’…

okay so bestie, welcome to libmongoc ✨ β€” this is the little getter that tells you what maxTimeMS value your find-and-modify options are holding. That's it. That's the whole vibe. No cap, it's a one-job icon πŸ‘‘


🌸 SYNOPSIS 🌸

uint32_t
mongoc_find_and_modify_opts_get_max_time_ms (
   const mongoc_find_and_modify_opts_t *opts);

literally that's the whole thing. short and slay πŸŽ€


✨ PARAMETERS ✨

  • opts β€” a mongoc_find_and_modify_opts_t. that's the find-and-modify options object you're snooping on πŸ•΅οΈβ€β™€οΈ

πŸ¦‹ RETURNS πŸ¦‹

It returns the "maxTimeMS" value that got set with mongoc_find_and_modify_opts_set_max_time_ms(). so like… whatever you put in is what comes back out. symmetry! balance! main character energy πŸ’«

ngl this is the reading half of a getter/setter duo β€” the setter is mongoc_find_and_modify_opts_set_max_time_ms(), the getter is right here. iykyk 🫢

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the ones who made it fr fr


2009-present, MongoDB, Inc. πŸ’œ


okay that's genuinely the whole page, bestie, you ate that reading session πŸ”₯ mwah πŸ’‹

libmongoc version 2.5.6, dated Oct 09, 2026 β€” go forth and get those options, queen πŸ‘‘βœ¨πŸŒΈ

πŸ“¦ where this page comes from