mongo_count_documents
Count documents in a MongoDB collection that match a specified JSON filter query.
Instructions
Count documents matching a filter in a MongoDB collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | JSON string filter query. | |
| database | No | ||
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |