Method: Redis#sscan

Defined in:
lib/redis.rb

#sscan(key, cursor, options = {}) ⇒ String+

Scan a set

Examples:

Retrieve the first batch of keys in a set

redis.sscan("set", 0)


2446
2447
2448
# File 'lib/redis.rb', line 2446

def sscan(key, cursor, options={})
  _scan(:sscan, cursor, [key], options)
end