redis.lookup

Lookup data from Redis using the given command and key

Properties

Name Type Description Required
connection
(Connection name)
string   yes
cmd
(Redis command)
string The command to execute
yes
args
(Redis command arguments)
string[] The list of expressions produces arguments
yes
language string Language
Enum: "jmespath", "sql"
yes
field
(Target field)
string The field to write the result to
yes
when
(Conditional execution)
object Optional condition to determine whether to execute the lookup for each record
yes

Additional Properties: not allowed
Example

when: {}

args[]: Redis command arguments

The list of expressions produces arguments

Items

Item Type: string

when: Conditional execution

Optional condition to determine whether to execute the lookup for each record

Properties

Name Type Description Required
expression
(Condition expression)
string Expression that evaluates to a boolean to determine if lookup should be executed
yes
language
(Expression language)
string Language for the condition expression
Enum: "jmespath", "sql"
yes

Additional Properties: not allowed