lpush
Add a value to the left of a Redis list and optionally set an expiration time, enabling efficient list management and time-based data control in Redis.
Instructions
Push a value onto the left of a Redis list and optionally set an expiration time.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expire | No | ||
name | Yes | ||
value | Yes |
Input Schema (JSON Schema)
{
"properties": {
"expire": {
"default": null,
"title": "Expire",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"value": {
"anyOf": [
{
"format": "binary",
"type": "string"
},
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"title": "Value"
}
},
"required": [
"name",
"value"
],
"title": "lpushArguments",
"type": "object"
}