# MongoDB

> Perform document operations in MongoDB databases including queries, aggregations, and data modifications.

Source: https://cotera.co/docs/reference/tools/individual-tools/mongodb

---

**Authentication Type:** Connection String\
**Description:** Perform document operations in MongoDB databases including queries, aggregations, and data modifications.

***

## Beta Notice

**This tool is currently in beta testing and not yet available for general use.**

To get the MongoDB tool added to your Cotera workspace, please contact our support team at [support.cotera.co](https://support.cotera.co).

***

## Authentication

To authenticate, you'll need a MongoDB connection string. Learn how to set up your connection in the [MongoDB Atlas documentation](https://www.mongodb.com/docs/atlas/).

***

## Document Operations

Perform CRUD and query operations on MongoDB documents.

### Aggregate Documents

Aggregate documents to perform complex data processing and analysis using MongoDB's aggregation pipeline framework.

**Operation Type:** Query (Read)

### Find Documents

Find documents in a collection to query and retrieve data based on filter criteria and conditions.

**Operation Type:** Query (Read)

### Find and Replace Documents

Find and replace documents to search for matching documents and replace them entirely with new document data.

**Operation Type:** Mutation (Write)

### Find and Update Documents

Find and update documents to search for matching documents and modify specific fields while preserving other data.

**Operation Type:** Mutation (Write)

### Insert Documents

Insert documents into a collection to add new records to your MongoDB database.

**Operation Type:** Mutation (Write)

### Update Documents

Update documents in a collection to modify existing records by changing field values and data.

**Operation Type:** Mutation (Write)

