Module: Sequel::SQL::AliasMethods

Included in:
SpecificExpressionMethods, String
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.



118
119
120
# File 'lib/sequel_core/sql.rb', line 118

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