key_type
Determine the data type of a specified key in Redis, such as string, hash, list, set, or sorted set, to facilitate efficient database management and operation planning.
Instructions
获取键类型
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | 键名 |
Input Schema (JSON Schema)
{
"properties": {
"key": {
"description": "键名",
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}