hget
Returns the value associated with field in the hash stored at key.
Examples
127.0.0.1:6379> HSET myhash field1 "foo"
(integer) 1
127.0.0.1:6379> HGET myhash field1
"foo"
127.0.0.1:6379> HGET myhash field2
(nil)
这篇文档对你有帮助吗?
谢谢你的反馈!