Module: Sequel::SQL::AliasMethods

Included in:
ComplexExpression, GenericExpression, String, Symbol
Defined in:
lib/sequel_core/sql.rb

Overview

Methods the create aliased identifiers

Instance Method Summary collapse

Instance Method Details

#as(aliaz) ⇒ Object

Create an SQL column alias of the receiving column to the given alias.



127
128
129
# File 'lib/sequel_core/sql.rb', line 127

def as(aliaz)
  AliasedExpression.new(self, aliaz)
end