Redis Hashes - get field names by value (Expression) — SkRedis

Addon: SkRedis · Category: Expression · Since: 1.0.0

Syntax

name[s] of field with value %string% in redis (hash|value) %string%

Description

Returns all field names of a hash stored in Redis that have the given value.

Examples

set {_fields::*} to all field names of redis hash "myHash" with value "myValue"
loop {_fields::*}:
	broadcast "Field: %loop-value%"

View source