class Redis

def scan(cursor, options={})

Returns:
  • (String, Array) - the next cursor and all found keys

Parameters:
  • options (Hash) --
  • cursor (String, Integer) -- the cursor of the iteration

Other tags:
    Example: Retrieve a batch of keys matching a pattern -
    Example: Retrieve the first batch of keys -
def scan(cursor, options={})
  _scan(:scan, cursor, [], options)
end