class Sequel::SQL::JoinClause

  1. lib/sequel/sql.rb
Parent: SQL

Represents an SQL JOIN clause, used for joining tables.

Methods

Public Class

  1. new

Public Instance

  1. join_type
  2. table
  3. table_alias

Attributes

join_type [R]

The type of join to do

table [R]

The actual table to join

table_alias [R]

The table alias to use for the join, if any

Public Class methods

new (join_type, table, table_alias = nil)

Create an object with the given #join_type, table, and table alias

[show source]
# File lib/sequel/sql.rb, line 1264
def initialize(join_type, table, table_alias = nil)
  @join_type, @table, @table_alias = join_type, table, table_alias
end