execute
Run any SQL statement (INSERT, UPDATE, DELETE, DDL) and get the affected row count. Optionally pass a transaction handle to execute within an existing transaction.
Instructions
执行任意 SQL(INSERT/UPDATE/DELETE/DDL 等),返回受影响行数。可选 tx_handle 在事务内执行。危险操作(DROP/TRUNCATE/DELETE)请谨慎
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | 要执行的 SQL 语句 | |
| tx_handle | No | 可选事务句柄 |