ListPush ListPush

yaml
type: "io.kestra.plugin.redis.list.ListPush"

Adds a new element to the head of a list.

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

  • Type:
    • string
    • array
  • Dynamic: ✔️
  • Required: ✔️

The list of values to push at the head of the list.

key

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The redis key for the list.

serdeType

  • Type: object
  • Dynamic:
  • Required: ✔️

url

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The connection string.

Outputs

count

  • Type: integer
  • Required:

Count

The number of values inserted.

Definitions

Was this page helpful?