Arguments
string
required
The key of the hash.
Response
All values in the hash, or an empty list when key does not exist.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
await redis.hset("key", {
field1: "Hello",
field2: "World",
})
const values = await redis.hvals("key")
console.log(values) // ["Hello", "World"]
Returns all values in the hash stored at key.
await redis.hset("key", {
field1: "Hello",
field2: "World",
})
const values = await redis.hvals("key")
console.log(values) // ["Hello", "World"]
Was this page helpful?