Method: Redis::Commands::Hashes#hgetall
- Defined in:
- lib/redis/commands/hashes.rb
#hgetall(key) ⇒ Hash<String, String>
Get all the fields and values in a hash.
210 211 212 |
# File 'lib/redis/commands/hashes.rb', line 210 def hgetall(key) send_command([:hgetall, key], &Hashify) end |