Hash
HVALS
Returns all values in the hash stored at key.
Arguments
keybodystringrequired
The key of the hash.
Response
unknown[]required
All values in the hash, or an empty list when key does not exist.
Example
await redis.hset("key", { field1: "Hello", field2: "World",})const values = await redis.hvals("key")console.log(values) // ["Hello", "World"]