exist
UK[ɪgˈzɪst] US[ɪɡˈzɪst]
vi.Exist; survive; live; continue to exist
Third person singular: exists Present participle: existing Past tense: existed Past participle: existed
redis HEXISTS command syntax
Function:Check whether the given domain field exists in the hash table key.
Syntax:HEXISTS key field
Available versions:>= 2.0.0
Time complexity :O(1)
Return:If the hash table contains the given field, return 1. If the hash table does not contain the given field, or key does not exist, 0 is returned.
redis HEXISTS command example
redis> HEXISTS phone myphone (integer) 0 redis> HSET phone myphone nokia-1110 (integer) 1 redis> HEXISTS phone myphone (integer) 1