module Redis::Commands::Hashes
def hdel(key, *fields)
-
(Integer)
- the number of fields that were removed from the hash
Parameters:
-
field
(String, Array
) -- -
key
(String
) --
def hdel(key, *fields) fields.flatten!(1) send_command([:hdel, key].concat(fields)) end