class RedisCopy::KeyEmitter::Scan
Scan
uses the SCAN family of commands, which were introduced in the 2.8 branch of Redis, and after 3.0.5 of the redis-rb gem.
Public Instance Methods
keys()
click to toggle source
# File lib/redis-copy/key-emitter/scan.rb, line 16 def keys @redis.scan_each(count: 1000, match: pattern) end