Module: Squeel::Nodes::Aliasing

Included in:
Function, Grouping, Literal, Predicate, Stub, Symbol
Defined in:
lib/squeel/nodes/aliasing.rb

Instance Method Summary collapse

Instance Method Details

#as(name) ⇒ Object



7
8
9
# File 'lib/squeel/nodes/aliasing.rb', line 7

def as(name)
  As.new(self, Arel.sql(name.to_s))
end