Class Sequel::SQL::AliasedExpression
In: lib/sequel/sql.rb
Parent: Expression

Represents an aliasing of an expression to a given alias.

Methods

new  

External Aliases

aliaz -> alias

Attributes

aliaz  [R]  The alias to use for the expression, not alias since that is a keyword in ruby.
columns  [R]  The columns aliases to use, for when the aliased expression is a record or set of records (such as a dataset).
expression  [R]  The expression to alias

Public Class methods

Create an object with the given expression and alias.

[Source]

     # File lib/sequel/sql.rb, line 952
952:       def initialize(expression, aliaz, columns=nil)
953:         @expression = expression
954:         @aliaz = aliaz
955:         @columns = columns
956:       end

[Validate]