update_record
Update existing records in a Deriva catalog by specifying the table, record ID, and column changes. Apply new values to fields in a chosen row.
Instructions
Update fields in an existing record.
Args: table_name: Name of the table containing the record. rid: The RID of the record to update. updates: Dictionary of {column: new_value} updates.
Returns: JSON with update status.
Example: update_record("Subject", "1-ABC", {"Age": 46, "Status": "Active"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rid | Yes | ||
| updates | Yes | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |