---
name: "mongoc_bulkwrite_deleteoneopts_set_hint"
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_bulkwrite_deleteoneopts_set_hint"
---

# mongoc\_bulkwrite\_deleteoneopts\_set\_hint(3)

## SYNOPSIS

```
void
mongoc_bulkwrite_deleteoneopts_set_hint (mongoc_bulkwrite_deleteoneopts_t *self, const bson_value_t *hint);
```

## DESCRIPTION

Specifies the index to use. Specify either the index name as a string or the index key pattern. If specified, then the query system will only consider plans using the hinted index.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
