class Redis

def zscan(key, cursor, options={})

Returns:
  • (String, Array<[String, Float]>) - the next cursor and all found

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

Other tags:
    Example: Retrieve the first batch of key/value pairs in a hash -
def zscan(key, cursor, options={})
  _scan(:zscan, cursor, [key], options) do |reply|
    [reply[0], FloatifyPairs.call(reply[1])]
  end
end