class Redis

def hdel(key, *fields)

Returns:
  • (Integer) - the number of fields that were removed from the hash

Parameters:
  • field (String, Array) --
  • key (String) --
def hdel(key, *fields)
  synchronize do |client|
    client.call([:hdel, key, *fields])
  end
end