list_lpush
Insert one or multiple values at the beginning of a Redis list using a specified key. Facilitates efficient data management and organization in Redis databases.
Instructions
左侧推入列表
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes | 列表键名 | |
values | Yes | 要推入的值或值数组 |
Input Schema (JSON Schema)
{
"properties": {
"key": {
"description": "列表键名",
"type": "string"
},
"values": {
"description": "要推入的值或值数组",
"oneOf": [
{
"description": "值",
"type": "string"
},
{
"description": "值数组",
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"key",
"values"
],
"type": "object"
}