HSET
Syntax
HSET key field value [field value ...]
HSET sets the field and value for the key in the string-string map.
Returns “OK” if the field value was set or updated in the map. Returns (nil) if the field value was not set or updated.
Examples
localhost:7379> HSET k1 f1 v1OK 1localhost:7379> HSET k1 f1 v1 f2 v2 f3 v3OK 2localhost:7379> HGET k1 f1OK v1localhost:7379> HGET k2 f1OK (nil)