class Redis

def sunionstore(destination, *keys)

Returns:
  • (Integer) - number of elements in the resulting set

Parameters:
  • keys (String, Array) -- keys pointing to sets to unify
  • destination (String) -- destination key
def sunionstore(destination, *keys)
  synchronize do |client|
    client.call([:sunionstore, destination, *keys])
  end
end