string_mset
Set multiple key-value pairs in Redis simultaneously with a single batch operation, streamlining database updates and reducing manual input overhead.
Instructions
批量设置键值
Input Schema
Name | Required | Description | Default |
---|---|---|---|
keyValues | Yes | 键值对数组 |
Input Schema (JSON Schema)
{
"properties": {
"keyValues": {
"description": "键值对数组",
"items": {
"properties": {
"key": {
"description": "键名",
"type": "string"
},
"value": {
"description": "值",
"type": "string"
}
},
"required": [
"key",
"value"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"keyValues"
],
"type": "object"
}