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 ofMONGOC_QUERY_AWAIT_DATA. π₯
π AUTHOR π
MongoDB, Inc β the icons themselves. β¨
π COPYRIGHT π
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
- fedora 43: mongo-c-driver-devel 1.30.13-1.fc43 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- fedora 43: mongo-c-driver-devel 1.30.13-1.fc43 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms