class Sequel::SQL::AliasedExpression
Represents an aliasing of an expression to a given alias.
Attributes
alias[R]
The alias to use for the expression, not alias
since that is a
keyword in ruby.
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
new(expression, aliaz, columns=nil)
click to toggle source
Create an object with the given expression and alias.
# File lib/sequel/sql.rb, line 1040 def initialize(expression, aliaz, columns=nil) @expression = expression @aliaz = aliaz @columns = columns freeze end