Class: Sequel::SQL::JoinOnClause

Inherits:
JoinClause show all
Defined in:
lib/sequel/lib/sequel/sql.rb

Overview

Represents an SQL JOIN table ON conditions clause.

Instance Attribute Summary collapse

Attributes inherited from JoinClause

#join_type, #table, #table_alias

Instance Method Summary collapse

Methods inherited from Expression

#lit

Constructor Details

#initialize(on, *args) ⇒ JoinOnClause

Create an object with the ON conditions and call super with the remaining args.


626
627
628
629
# File 'lib/sequel/lib/sequel/sql.rb', line 626

def initialize(on, *args)
  @on = on
  super(*args)
end

Instance Attribute Details

#onObject (readonly)

The conditions for the join


622
623
624
# File 'lib/sequel/lib/sequel/sql.rb', line 622

def on
  @on
end