1MONGOC_REMOVE_FLAGS_T(3)           libmongoc          MONGOC_REMOVE_FLAGS_T(3)
2
3
4
5Flags for deletion operations
6

SYNOPSIS

8          typedef enum {
9             MONGOC_REMOVE_NONE = 0,
10             MONGOC_REMOVE_SINGLE_REMOVE = 1 << 0,
11          } mongoc_remove_flags_t;
12

DESCRIPTION

14       These  flags  correspond to the MongoDB wire protocol. They may be bit‐
15       wise or'd together. They may change the number of  documents  that  are
16       removed during a remove command.
17

FLAG VALUES

19               ┌─────────────────────────┬────────────────────────────┐
20               │MONGOC_REMOVE_NONE       │ Specify  no removal flags. │
21               │                         │ All   matching   documents │
22               │                         │ will be removed.           │
23               ├─────────────────────────┼────────────────────────────┤
24               │MONGOC_REMOVE_SINGLE_RE‐ │ Only  remove   the   first │
25               │MOVE                     │ matching document from the │
26               │                         │ selector.                  │
27               └─────────────────────────┴────────────────────────────┘
28

AUTHOR

30       MongoDB, Inc
31
33       2017-present, MongoDB, Inc
34
35
36
37
381.25.1                           Nov 08, 2023         MONGOC_REMOVE_FLAGS_T(3)
Impressum