db_update_rows
Update database rows that match a WHERE clause by setting column values, with parameters for safe target identification and automatic logging.
Instructions
Update rows in a table matching a WHERE clause (auto-approved, logged)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Column-value pairs to set | |
| table | Yes | Table name to update | |
| where | Yes | WHERE clause to identify rows (e.g., "id = $1") | |
| params | Yes | Parameter values for WHERE clause |