Method: Redis#hscan
- Defined in:
- lib/redis.rb
#hscan(key, cursor, options = {}) ⇒ String, Array<[String, String]>
Scan a hash
2575 2576 2577 2578 2579 |
# File 'lib/redis.rb', line 2575 def hscan(key, cursor, ={}) _scan(:hscan, cursor, [key], ) do |reply| [reply[0], reply[1].each_slice(2).to_a] end end |