Sets the specified fields to their respective values in the hash stored at key.
Sets the specified fields to their respective values in the hash stored at key. This command overwrites any existing fields in the hash. If key does not exist, a new key holding a hash is created.
from fields to values
True
if operation completed successfully,
False
otherwise.
Incrementally iterate hash fields and associated values (since 2.8)
Sets field
in the hash stored at key
to value
.
Sets field
in the hash stored at key
to value
.
If key
does not exist, a new key holding a hash is created.
If field already exists in the hash, it is overwritten.
Some(0)
if field
is a new field in the hash and value was set,
Some(1)
if field
already exists in the hash and the value was updated.
Sets field
in the hash stored at key
to value
, only if field does not yet exist.
Sets field
in the hash stored at key
to value
, only if field does not yet exist.
If key does not exist, a new key holding a hash is created.
If field already exists, this operation has no effect.
True
if field
is a new field in the hash and value was set.
False if field
exists in the hash and no operation was performed.
(Since version ) see corresponding Javadoc for more information.
Sets field
in the hash stored at key
to value
.
Sets field
in the hash stored at key
to value
.
If key
does not exist, a new key holding a hash is created.
If field already exists in the hash, it is overwritten.
True
if field
is a new field in the hash and value was set,
False
if field
already exists in the hash and the value was updated.
return value semantics is inconsistent with com.redis.HashOperations#hsetnx and com.redis.HashOperations#hmset. Use com.redis.HashOperations#hset1 instead