---
name: "mongoc_collection_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_collection_t"
---

# mongoc\_collection\_t(3)

## SYNOPSIS

```
typedef struct _mongoc_collection_t mongoc_collection_t;
```

**mongoc\_collection\_t** provides access to a MongoDB collection.  This handle is useful for actions for most CRUD operations, I.e. insert, update, delete, find, etc.

## READ PREFERENCES AND WRITE CONCERNS

Read preferences and write concerns are inherited from the parent client. They can be overridden by set\_\* commands if so desired.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
