SetRecord
Replace all fields of a record with new values in RushDB's graph database, using the record ID, label, and data to perform atomic updates.
Instructions
Replace all fields of a record with provided values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The new record data to set | |
| label | Yes | Label for the record | |
| recordId | Yes | ID of the record to set | |
| transactionId | No | Optional transaction ID for atomic set |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "The new record data to set",
"type": "object"
},
"label": {
"description": "Label for the record",
"type": "string"
},
"recordId": {
"description": "ID of the record to set",
"type": "string"
},
"transactionId": {
"description": "Optional transaction ID for atomic set",
"type": "string"
}
},
"required": [
"recordId",
"label",
"data"
],
"type": "object"
}