hash_del
Remove specified fields from a Redis hash key using this tool. Input the hash key and field(s) to delete, streamlining data management in Redis databases.
Instructions
删除哈希字段
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | Yes | 要删除的字段名或字段名数组 | |
key | Yes | 哈希键名 |
Input Schema (JSON Schema)
{
"properties": {
"fields": {
"description": "要删除的字段名或字段名数组",
"oneOf": [
{
"description": "字段名",
"type": "string"
},
{
"description": "字段名数组",
"items": {
"type": "string"
},
"type": "array"
}
]
},
"key": {
"description": "哈希键名",
"type": "string"
}
},
"required": [
"key",
"fields"
],
"type": "object"
}