Module: ArelExtensions::SetFunctions

Included in:
Arel::Nodes::Union, Arel::Nodes::UnionAll, Arel::SelectManager
Defined in:
lib/arel_extensions/set_functions.rb

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object



6
7
8
# File 'lib/arel_extensions/set_functions.rb', line 6

def +(other)
  ArelExtensions::Nodes::Union.new(self, other)
end

#union(other) ⇒ Object



10
11
12
# File 'lib/arel_extensions/set_functions.rb', line 10

def union(other)
  ArelExtensions::Nodes::Union.new(self, other)
end

#union_all(other) ⇒ Object



14
15
16
# File 'lib/arel_extensions/set_functions.rb', line 14

def union_all(other)
  ArelExtensions::Nodes::UnionAll.new(self, other)
end

#uniqObject



18
19
20
# File 'lib/arel_extensions/set_functions.rb', line 18

def uniq
  self
end