Method: Redis::Commands::Hashes#hscan
- Defined in:
- lib/redis/commands/hashes.rb
#hscan(key, cursor, **options) ⇒ String, Array<[String, String]>
Scan a hash
225 226 227 228 229 |
# File 'lib/redis/commands/hashes.rb', line 225 def hscan(key, cursor, **) _scan(:hscan, cursor, [key], **) do |reply| [reply[0], reply[1].each_slice(2).to_a] end end |