Usage
Returns all values in the hash stored atkey.
Parameters
The key of the hash
Response
An array of values in the hash. Returns an empty array if the key does not exist.Values are automatically parsed from JSON when possible.
Examples
Get all values
Working with typed data
Process all values
Non-existent key
Count occurrences
Filter values
Check for duplicates
Sum numeric values
Validate all values
Export values list
Notes
- The order of values in the returned array is not guaranteed
- The order corresponds to the order of fields returned by
HKEYS - Returns an empty array for non-existent keys
- Use
HGETALLif you need both field names and values - For very large hashes, consider using
HSCANto iterate incrementally