---
name: "mongoc_remove_flags_t"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_remove_flags_t"
---

# mongoc\_remove\_flags\_t(3)

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

2009-present, MongoDB, Inc.
