chaprola_update_record
Update fields in a single record matching a where clause in a project's data file. Handles sort-key changes by ignoring the old record and appending the updated record to the merge file.
Instructions
Update fields in a single record matched by a where clause. If no sort-key changes, updates in place; otherwise marks old record ignored and appends to merge file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | Yes | Field name → new value pairs to update | |
| file | Yes | Data file name (without extension) | |
| where | Yes | Field name → value pairs to identify exactly one record | |
| project | Yes | Project name |