Module: ArelExtensions::SetFunctions

Defined in:
lib/arel_extensions/set_functions.rb

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object



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

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

#union(other) ⇒ Object



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

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

#union_all(other) ⇒ Object



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

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

#uniqObject



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

def uniq
  self
end