Verify if the specified key exists in a hashmap.
name
- The name of the hashmapkey
- If the key exists, return 1
, otherwise return 0
.
ssdb 127.0.0.1:8888> hset h k v
ok
(0.000 sec)
ssdb 127.0.0.1:8888> hexists h k
1
(0.000 sec)
ssdb 127.0.0.1:8888> hdel h k
1
(0.000 sec)
ssdb 127.0.0.1:8888> hexists h k
0
(0.000 sec)
ssdb 127.0.0.1:8888>