ListPush
Add a new element to the head of a list in Redis.
yaml
type: "io.kestra.plugin.redis.list.ListPush"
Examples
yaml
id: redis_list_push
namespace: company.team
tasks:
- id: list_push
type: io.kestra.plugin.redis.list.ListPush
url: redis://:redis@localhost:6379/0
key: mykey
from:
- value1
- value2
Properties
from *Requiredstringarray
The list of values to push at the head of the list.
key *Requiredstring
The Redis key for the list.
serdeType *Requiredstring
Default
STRING
Possible Values
STRING
JSON
Format of the data contained in Redis
url *Requiredstring
The connection string.
Outputs
count integer
Count
The number of values inserted