class Redis
def hsetnx(key, field, value)
-
(Boolean)
- whether or not the field was **added** to the hash
Parameters:
-
value
(String
) -- -
field
(String
) -- -
key
(String
) --
def hsetnx(key, field, value) synchronize do |client| client.call([:hsetnx, key, field, value], &Boolify) end end