execute_sql
Run one read-only SQL statement (SELECT, EXPLAIN, or SHOW) through the Multigres gateway; statements are prechecked, limited to allow-listed functions, and run in a rolled-back transaction.
Instructions
Run one read-only SQL statement (SELECT, EXPLAIN of a SELECT, or SHOW) through the Multigres gateway. The statement is checked before it is sent and runs in a read-only transaction that is always rolled back. Functions must be on the allow list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | One SQL statement |