explain_query
Retrieve the execution plan for a SQL or MongoDB query without running it. Use it to optimize slow queries.
Instructions
Get the execution plan for a query without running it. Useful for optimizing slow queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | SQL query or MongoDB JSON query to explain | |
| connection | No | Connection alias (default: 'default') |