MySQL Exec
mysql_execExecute a single write-capable SQL statement on a MySQL database environment with policy-based security controls and environment routing.
Instructions
Run one write-capable SQL statement on a configured MySQL environment if policy allows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | Environment alias such as dev or stg. | |
| database | No | Optional database override allowed by server policy. | |
| sql | Yes | One SQL statement allowed by server policy. | |
| timeoutMs | No | Requested execution timeout in milliseconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| env | Yes | ||
| database | No | ||
| insertId | No | ||
| warnings | No | ||
| elapsedMs | Yes | ||
| affectedRows | Yes | ||
| statementType | Yes |