Module: Sequel::SQL::AliasMethods
- Included in:
- ComplexExpression, GenericExpression, String, Symbol
- Defined in:
- lib/sequel/sql.rb
Overview
Methods that create aliased identifiers
Instance Method Summary collapse
-
#as(aliaz) ⇒ Object
Create an SQL column alias of the receiving column or expression to the given alias.
Instance Method Details
#as(aliaz) ⇒ Object
Create an SQL column alias of the receiving column or expression to the given alias.
122 123 124 |
# File 'lib/sequel/sql.rb', line 122 def as(aliaz) AliasedExpression.new(self, aliaz) end |