update
Modify specific records in a database collection using defined criteria and update data, ensuring accurate and targeted changes through a standardized interface.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | 集合名称 | |
data | Yes | 要更新的数据 (object) | |
where | Yes | 查询条件 (JQL格式) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"collection": {
"description": "集合名称",
"type": "string"
},
"data": {
"additionalProperties": {},
"description": "要更新的数据 (object)",
"type": "object"
},
"where": {
"additionalProperties": {},
"description": "查询条件 (JQL格式)",
"type": "object"
}
},
"required": [
"collection",
"where",
"data"
],
"type": "object"
}