HEXISTS
Synopsis
HEXISTS key field
This is a predicate to check whether or not the given field
exists in the hash that is specified by the given key
.
Return value
Returns existence status as integer, either 1 or 0.
Examples
$ HSET yugahash area1 "America"
1
$ HEXISTS yugahash area1
1
$ HEXISTS yugahash area_none
0
See also
hdel
, hget
, hgetall
, hkeys
, hlen
, hmget
, hmset
, hset
, hincrby
, hstrlen
, hvals