MONGOC_REPLY_FLAGS_T(3)

πŸ’… MONGOC_REPLY_FLAGS_T(3) β€” flags from server replies ✨

okay bestie, so this is a page from the libmongoc manual, and it's all about mongoc_reply_flags_t β€” the little enum that holds the flags a MongoDB server sends back in its replies. it's giving "behind the scenes of the wire protocol" and honestly? we're obsessed. πŸ¦‹


✨ SYNOPSIS ✨

like, here's the whole thing, look at her:

typedef enum {
   MONGOC_REPLY_NONE = 0,
   MONGOC_REPLY_CURSOR_NOT_FOUND = 1 << 0,
   MONGOC_REPLY_QUERY_FAILURE = 1 << 1,
   MONGOC_REPLY_SHARD_CONFIG_STALE = 1 << 2,
   MONGOC_REPLY_AWAIT_CAPABLE = 1 << 3,
} mongoc_reply_flags_t;

🌸 DESCRIPTION 🌸

these flags correspond to the wire protocol, periodt. and the way they work is they may be bitwise or'd together β€” so you can stack them up like your favorite bracelets, no cap. πŸ’–


πŸŽ€ FLAG VALUES πŸŽ€

  • MONGOC_REPLY_NONE β€” no flags set. literally just vibes, nothing else. πŸ’€
  • MONGOC_REPLY_CURSOR_NOT_FOUND β€” no matching cursor was found on the server. she's not there, bestie. πŸ™ˆ
  • MONGOC_REPLY_QUERY_FAILURE β€” the query failed or was invalid. an error document has been provided. main character of the bad-news flags, ngl. 😭
  • MONGOC_REPLY_SHARD_CONFIG_STALE β€” shard config is stale. it's giving "this info is so last season". πŸ’…
  • MONGOC_REPLY_AWAIT_CAPABLE β€” this one's set if the returned cursor is capable of MONGOC_QUERY_AWAIT_DATA. πŸ”₯

πŸ‘‘ AUTHOR πŸ‘‘

MongoDB, Inc β€” the icons themselves. ✨


2009-present, MongoDB, Inc.


and that's the whole page, bestie!! 🫢 this was written for libmongoc version 1.30.13, dated Oct 09, 2026, and it's page MONGOC_REPLY_FLAGS_T(3) of the manual. go forth and bitwise-or responsibly. mwah. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from