---
name: "mongoc_bulkwriteopts_set_extra"
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_bulkwriteopts_set_extra"
---

# mongoc\_bulkwriteopts\_set\_extra(3)

## SYNOPSIS

```
void
mongoc_bulkwriteopts_set_extra (mongoc_bulkwriteopts_t *self, const bson_t *extra);
```

## DESCRIPTION

Appends all fields in **extra** to the outgoing **bulkWrite** command. Intended to support future server options. Prefer other **mongoc\_bulkwriteopts\_set\_\*** helpers to avoid unexpected option conflicts.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
