1MONGOC_REPLY_FLAGS_T(3) libmongoc MONGOC_REPLY_FLAGS_T(3)
2
3
4
5Flags from server replies
6
8 typedef enum {
9 MONGOC_REPLY_NONE = 0,
10 MONGOC_REPLY_CURSOR_NOT_FOUND = 1 << 0,
11 MONGOC_REPLY_QUERY_FAILURE = 1 << 1,
12 MONGOC_REPLY_SHARD_CONFIG_STALE = 1 << 2,
13 MONGOC_REPLY_AWAIT_CAPABLE = 1 << 3,
14 } mongoc_reply_flags_t;
15
17 These flags correspond to the wire protocol. They may be bitwise or'd
18 together.
19
21 ┌───────────────────────────┬────────────────────────────┐
22 │MONGOC_REPLY_NONE │ No flags set. │
23 ├───────────────────────────┼────────────────────────────┤
24 │MONGOC_REPLY_CUR‐ │ No matching cursor was │
25 │SOR_NOT_FOUND │ found on the server. │
26 ├───────────────────────────┼────────────────────────────┤
27 │MONGOC_REPLY_QUERY_FAILURE │ The query failed or was │
28 │ │ invalid. Error document │
29 │ │ has been provided. │
30 ├───────────────────────────┼────────────────────────────┤
31 │MONGOC_REPLY_SHARD_CON‐ │ Shard config is stale. │
32 │FIG_STALE │ │
33 ├───────────────────────────┼────────────────────────────┤
34 │MONGOC_REPLY_AWAIT_CAPABLE │ If the returned cursor is │
35 │ │ capable of MON‐ │
36 │ │ GOC_QUERY_AWAIT_DATA. │
37 └───────────────────────────┴────────────────────────────┘
38
40 MongoDB, Inc
41
43 2017-present, MongoDB, Inc
44
45
46
47
481.25.1 Nov 08, 2023 MONGOC_REPLY_FLAGS_T(3)