run_aggregation
Run custom aggregation pipelines on MongoDB collections to transform and analyze data. Use stages to filter, group, and sort documents for complex queries.
Instructions
Run an aggregation pipeline on a collection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | The database name | |
| pipeline | Yes | The aggregation pipeline stages | |
| collection | Yes | The collection name |