query
Run one SELECT, WITH, or EXPLAIN inside a read-only transaction that always rolls back, returning up to 1000 rows for safe database investigation.
Instructions
Runs ONE SELECT/WITH/EXPLAIN inside a READ ONLY transaction that is always rolled back. Statements that modify data are rejected. Returns at most GUARD_QUERY_MAX_ROWS rows (default 1000) and says when the result was cut. Use it for investigation and analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | One SELECT, WITH or EXPLAIN statement |