---
name: "mongoc_bulk_operation_set_let"
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_bulk_operation_set_let"
---

# mongoc\_bulk\_operation\_set\_let(3)

## SYNOPSIS

```
void
mongoc_bulk_operation_set_let (
   mongoc_bulk_operation_t *bulk, const bson_t *let);
```

## PARAMETERS

- •

  **bulk**: A *mongoc\_bulk\_operation\_t*.

- •

  **let**: A BSON document consisting of any number of parameter names, each followed by definitions of constants in the MQL Aggregate Expression language.

## DESCRIPTION

Defines constants that can be accessed by all update, replace, and delete operations executed as part of this *bulk*.

It is prohibited to call this function after adding operations to the *bulk*.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
