Includes an as method that creates an SQL alias.
Create an SQL alias (AliasedExpression) of the receiving column or expression to the given alias.
Sequel.function(:func).as(:alias) # func() AS "alias"
# File lib/sequel/sql.rb, line 252 def as(aliaz) AliasedExpression.new(self, aliaz) end
Generated with the Darkfish Rdoc Generator 2.