class Focus::SelectExpression
- Focus::SelectExpression
- Reference
- Object
Included Modules
Defined in:
focus/sql_expressions.crConstructors
Instance Method Summary
- #columns : Array(BaseColumnDeclaringExpression)
- #copy(columns = self.columns, from = self.from, where = self.where, group_by = self.group_by, having = self.having, order_by = self.order_by, is_distinct = self.is_distinct, limit = self.limit, offset = self.offset)
- #from : QuerySourceExpression
- #group_by : Array(BaseScalarExpression)
- #having : ScalarExpression(Bool) | Nil
- #is_distinct : Bool
- #limit : Int32 | Nil
- #offset : Int32 | Nil
- #order_by : Array(OrderByExpression)
- #where : ScalarExpression(Bool) | Nil
Instance methods inherited from module Focus::QueryExpression
table_alias : String | Nil
table_alias
Instance methods inherited from module Focus::SqlExpression
accept(visitor : Focus::SqlVisitor) : Nil
accept,
wrap_in_parens? : Bool
wrap_in_parens?
Constructor Detail
def self.new(from : Focus::QuerySourceExpression, columns : Array(Focus::BaseColumnDeclaringExpression) = [] of BaseColumnDeclaringExpression, where : Focus::ScalarExpression(Bool) | Nil = nil, group_by : Array(Focus::BaseScalarExpression) = [] of BaseScalarExpression, having : Focus::ScalarExpression(Bool) | Nil = nil, order_by : Array(Focus::OrderByExpression) = [] of OrderByExpression, is_distinct : Bool = false, limit : Int32 | Nil = nil, offset : Int32 | Nil = nil)
#
Instance Method Detail
def copy(columns = self.columns, from = self.from, where = self.where, group_by = self.group_by, having = self.having, order_by = self.order_by, is_distinct = self.is_distinct, limit = self.limit, offset = self.offset)
#