Method: Redis::Distributed#hdel
- Defined in:
- lib/redis/distributed.rb
#hdel(key, *fields) ⇒ Object
Delete one or more hash fields.
886 887 888 889 |
# File 'lib/redis/distributed.rb', line 886 def hdel(key, *fields) fields.flatten!(1) node_for(key).hdel(key, fields) end |