Set
yaml
type: "io.kestra.plugin.redis.json.set"
Examples
yaml
id: redis_json_set
namespace: company.team
inputs:
- id: key_name
type: STRING
displayName: Key Name
- id: key_value
type: STRING
displayName: Key Value
tasks:
- id: set
type: io.kestra.plugin.redis.json.Set
url: redis://:redis@localhost:6379/0
key: "{{ inputs.key_name }}"
value: |
{
"name": "{{ inputs.key_value }}"
}
Properties
key *Requiredstring
url *Requiredstring
value *Requiredobject
get booleanstring
Default
false
options Non-dynamicSet-Options
Default
{
"mustNotExist": "false",
"mustExist": "false"
}
path string
Default
$
Outputs
oldValue object
Definitions
io.kestra.plugin.redis.json.Set-Options
mustExist booleanstring
Default
false
mustNotExist booleanstring
Default
false