BulkUpdateRecords
Update multiple records within a specified collection simultaneously using ID-based data modifications, streamlining batch operations for Astra DB databases.
Instructions
Update multiple records in a collection at once
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collectionName | Yes | Name of the collection containing the records | |
records | Yes | Array of records to update with their IDs |
Input Schema (JSON Schema)
{
"properties": {
"collectionName": {
"description": "Name of the collection containing the records",
"type": "string"
},
"records": {
"description": "Array of records to update with their IDs",
"items": {
"properties": {
"id": {
"description": "ID of the record to update",
"type": "string"
},
"record": {
"description": "The updated record data",
"type": "object"
}
},
"required": [
"id",
"record"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"collectionName",
"records"
],
"type": "object"
}