HSET key field value [field value …]

    Time complexity: O(1) for each field/value pair added, so O(N) to add N field/value pairs when the command is called with multiple field/value pairs.

    As of Redis 4.0.0, HSET is variadic and allows for multiple field/ pairs.

    *Examples

    redis> HSET myhash field1 "Hello"

      redis>