HVALS 系列

语法
HVALS key
从以下位置开始可用:
2.0.0
时间复杂度:
O(N),其中 N 是哈希的大小。
ACL 类别:
@read, @hash, @slow,

返回存储在key.

例子

Give these commands a try in the interactive console:

HSET myhash field1 "Hello" HSET myhash field2 "World" HVALS myhash

RESP2 Reply

Array reply: a list of values in the hash, or an empty list when the key does not exist

RESP3 Reply

Array reply: a list of values in the hash, or an empty list when the key does not exist.
RATE THIS PAGE
Back to top ↑