class Redis

def hdel(key, field)

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

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