HSET key field value
field in the hash stored at
key does not exist, a new key holding a hash is created.
field already exists in the hash, it is overwritten.
Integer reply, specifically:
fieldis a new field in the hash and
fieldalready exists in the hash and the value was updated.
redis> HSET myhash field1 “Hello”
(integer) 1redis> HGET myhash field1