HEXISTS key field
查看哈希表 key 中,给定域 field 是否存在。
key
field
1
0
redis> HEXISTS phone myphone (integer) 0 redis> HSET phone myphone nokia-1110 (integer) 1 redis> HEXISTS phone myphone (integer) 1