set
英[set] 美[sɛt]
vt. Set; place, arrange; put in a certain situation; place tableware
vi. Setting off; setting off; condensation
n.Gathering; a set; a set; a TV set
adj. Fixed; located in...; stubborn; arranged The
third person singular: sets plural: sets present participle: setting past tense: set past participle: set
redis HMSET command syntax
Function:Set multiple field-value (domain-value) pairs into the hash table key at the same time.
Syntax:HMSET key field value [field value ...]
Description:This command will overwrite the existing hash table area. If key does not exist, an empty hash table is created and an HMSET operation is performed.
Available versions:>= 2.0.0
Time complexity:O(N), N is the number of field-value pairs .
Return:If the command is executed successfully, return OK. When key is not a hash table (hash) type, an error is returned.
redis HMSET command example
redis> HMSET website google www.google.com yahoo www.yahoo.com OK redis> HGET website google "www.google.com" redis> HGET website yahoo "www.yahoo.com"