Run write statement
run_writeRun a single INSERT, UPDATE, or DELETE statement, blocking DDL and unscoped writes unless explicitly enabled. Add RETURNING * to view affected rows.
Instructions
Run a single INSERT/UPDATE/DELETE. DDL (DROP/TRUNCATE/ALTER/…) and unscoped UPDATE/DELETE (no WHERE) are refused unless allowDangerous=true. Add "RETURNING *" to see affected rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | A single write statement. | |
| params | No | Positional parameters for $1, $2, … | |
| allowDangerous | No | Override guards for DDL / unscoped writes. |