Represents an SQL JOIN clause, used for joining tables.
The expression representing the table/set related to the JOIN. Is an AliasedExpression if the JOIN uses an alias.
Create an object with the given join_type and table expression.
# File lib/sequel/sql.rb, line 1387 def initialize(join_type, table_expr) @join_type = join_type @table_expr = table_expr end
The column aliases to use for the JOIN , or nil if the JOIN does not use a derived column list.
# File lib/sequel/sql.rb, line 1411 def column_aliases if @table_expr.is_a?(AliasedExpression) @table_expr.columns end end
Generated with the Darkfish Rdoc Generator 2.