1MONGOC_REMOVE_FLAGS_T(3) libmongoc MONGOC_REMOVE_FLAGS_T(3)
2
3
4
6 mongoc_remove_flags_t - mongoc_remove_flags_t
7
8 Flags for deletion operations
9
11 typedef enum {
12 MONGOC_REMOVE_NONE = 0,
13 MONGOC_REMOVE_SINGLE_REMOVE = 1 << 0,
14 } mongoc_remove_flags_t;
15
17 These flags correspond to the MongoDB wire protocol. They may be bit‐
18 wise or'd together. They may change the number of documents that are
19 removed during a remove command.
20
22 ┌───────────────────┬────────────────────────────┐
23 │MONGOC_REMOVE_NONE │ Specify no removal flags. │
24 │ │ All matching documents │
25 │ │ will be removed. │
26 ├───────────────────┼────────────────────────────┤
27 │MONGOC_REMOVE_SIN‐ │ Only remove the first │
28 │GLE_REMOVE │ matching document from the │
29 │ │ selector. │
30 └───────────────────┴────────────────────────────┘
31
33 MongoDB, Inc
34
36 2017-present, MongoDB, Inc
37
38
39
40
411.16.2 Feb 25, 2020 MONGOC_REMOVE_FLAGS_T(3)