Module: Sequel::SQL::AliasMethods

Included in:
ComplexExpression, GenericExpression, String, Symbol
Defined in:
lib/sequel/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.



125
126
127
# File 'lib/sequel/sql.rb', line 125

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