mongoc_remove_flags_t(3)
| MONGOC_REMOVE_FLAGS_T(3) | MongoDB C Driver | MONGOC_REMOVE_FLAGS_T(3) |
NAME
mongoc_remove_flags_t - mongoc_remove_flags_t
Flags for deletion operations
SYNOPSIS
typedef enum {
MONGOC_REMOVE_NONE = 0,
MONGOC_REMOVE_SINGLE_REMOVE = 1 << 0,
} mongoc_remove_flags_t;
DESCRIPTION
These flags correspond to the MongoDB wire protocol. They may be bitwise or’d together. They may change the number of documents that are removed during a remove command.
FLAG VALUES
| MONGOC_REMOVE_NONE | Specify no removal flags. All matching documents will be removed. |
| MONGOC_REMOVE_SINGLE_REMOVE | Only remove the first matching document from the selector. |
AUTHOR
MongoDB, Inc
COPYRIGHT
2017-present, MongoDB, Inc
| June 1, 2021 | 1.14.0 |
