db.explain
Get PostgreSQL EXPLAIN plans for SELECT/WITH queries without executing them, enabling safe query analysis and optimization on a read-only server.
Instructions
Return PostgreSQL EXPLAIN plans for one or more SELECT/WITH statements without executing them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| params | No | ||
| database | No |