HKEYS

redis and hash | Mar 2, 2016 • Ding Jiao

Returns all field names in the hash stored at key.

@return

@array-reply: list of fields in the hash, or an empty list when key does not exist.

@examples

HSET myhash field1 "Hello"
HSET myhash field2 "World"
HKEYS myhash