1MONGOC_REPLY_FLAGS_T(3)            libmongoc           MONGOC_REPLY_FLAGS_T(3)
2
3
4

NAME

6       mongoc_reply_flags_t - mongoc_reply_flags_t
7
8       Flags from server replies
9

SYNOPSIS

11          typedef enum {
12             MONGOC_REPLY_NONE = 0,
13             MONGOC_REPLY_CURSOR_NOT_FOUND = 1 << 0,
14             MONGOC_REPLY_QUERY_FAILURE = 1 << 1,
15             MONGOC_REPLY_SHARD_CONFIG_STALE = 1 << 2,
16             MONGOC_REPLY_AWAIT_CAPABLE = 1 << 3,
17          } mongoc_reply_flags_t;
18

DESCRIPTION

20       These  flags  correspond to the wire protocol. They may be bitwise or'd
21       together.
22

FLAG VALUES

24              ┌───────────────────────────┬────────────────────────────┐
25              │MONGOC_REPLY_NONE          │ No flags set.              │
26              ├───────────────────────────┼────────────────────────────┤
27              │MONGOC_REPLY_CUR‐          │ No   matching  cursor  was │
28              │SOR_NOT_FOUND              │ found on the server.       │
29              ├───────────────────────────┼────────────────────────────┤
30              │MONGOC_REPLY_QUERY_FAILURE │ The query  failed  or  was │
31              │                           │ invalid.   Error  document │
32              │                           │ has been provided.         │
33              ├───────────────────────────┼────────────────────────────┤
34              │MONGOC_REPLY_SHARD_CON‐    │ Shard config is stale.     │
35              │FIG_STALE                  │                            │
36              ├───────────────────────────┼────────────────────────────┤
37              │MONGOC_REPLY_AWAIT_CAPABLE │ If  the returned cursor is │
38              │                           │ capable      of       MON‐ │
39              │                           │ GOC_QUERY_AWAIT_DATA.      │
40              └───────────────────────────┴────────────────────────────┘
41

AUTHOR

43       MongoDB, Inc
44
46       2017-present, MongoDB, Inc
47
48
49
50
511.20.0                           Nov 18, 2021          MONGOC_REPLY_FLAGS_T(3)
Impressum