module Redis::Commands::Hashes

def hsetnx(key, field, value)

Returns:
  • (Boolean) - whether or not the field was **added** to the hash

Parameters:
  • value (String) --
  • field (String) --
  • key (String) --
def hsetnx(key, field, value)
  send_command([:hsetnx, key, field, value], &Boolify)
end