insert_rows
Insert rows into a PostgreSQL table with typed constraints and a commit guard to validate the exact number of affected rows.
Instructions
Insert bounded typed rows with exact affected-row commit guards
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Rows sharing one column set | |
| returning | No | Columns returned after commit validation | |
| 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 |