delete_rows
Delete rows safely with mandatory filters, optional optimistic concurrency checks, and commit validation to prevent unintended data loss.
Instructions
Delete rows with mandatory filters, optimistic predicates, and commit guards
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | Yes | Mandatory structured target filter | |
| returning | No | Columns returned after commit validation | |
| concurrency | No | Optional optimistic concurrency predicates | |
| schema_name | Yes | Exact schema name | |
| expected_rows | No | Optional exact affected row count | |
| relation_name | Yes | Exact table name | |
| max_affected_rows | No | Hard mutation ceiling |