method

union

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: SelectManager
union(operation, other = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/select_manager.rb, line 198
    def union(operation, other = nil)
      if other
        node_class = Nodes.const_get("Union#{operation.to_s.capitalize}")
      else
        other = operation
        node_class = Nodes::Union
      end

      node_class.new self.ast, other.ast
    end
Register or log in to add new notes.