HEXISTS

HEXISTS

HEXISTS key field
Available since
2.0.0
Time complexity
O(1)
ACL categories
@read, @hash, @fast

Returns if field is an existing field in the hash stored at key.

Examples #

HSET myhash field1 "foo"
HEXISTS myhash field1
HEXISTS myhash field2

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.