upsert_row
Upsert a row in a database table using order_id as the unique key to update existing records or insert new ones.
Instructions
Upsert one row by order_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_dir | No | ./tests/artifacts/mcp/engine_data | |
| table | No | orders | |
| order_id | No | ||
| customer_id | No | ||
| amount | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||