HSET
Syntax
Section titled “Syntax”HSET key field value [field value ...]
HSET sets the field and value for the key in the string-string map.
The command returns the number of fields that were added.
Examples
Section titled “Examples”localhost:7379> HSET k1 f1 v1OK 1localhost:7379> HSET k1 f1 v1 f2 v2 f3 v3OK 2