mongo_aggregate
Execute MongoDB aggregation pipelines to transform and analyze data within a collection.
Instructions
Run an aggregation pipeline on a MongoDB collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| pipeline | Yes | JSON string representing an array of pipeline stages. | |
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |