Upstash · Method
redis.hset
HSET writes one or more field-value pairs into a Redis hash. It creates the hash key when needed and returns the number of fields that were newly added.
Last updated
Syntax
HSET key field value [field value ...]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
HGETHGETALLHSETEXHSETNXHEXPIRE