UpdateRecord
Modify existing records in RushDB by providing record ID, label, and partial data updates. Supports optional transaction IDs for atomic operations.
Instructions
Update an existing record (partial update)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The updated (partial) record data | |
| label | Yes | Label for the record | |
| recordId | Yes | ID of the record to update | |
| transactionId | No | Optional transaction ID for atomic update |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "The updated (partial) record data",
"type": "object"
},
"label": {
"description": "Label for the record",
"type": "string"
},
"recordId": {
"description": "ID of the record to update",
"type": "string"
},
"transactionId": {
"description": "Optional transaction ID for atomic update",
"type": "string"
}
},
"required": [
"recordId",
"label",
"data"
],
"type": "object"
}