Class: Sequel::SQL::JoinOnClause
- Inherits:
- 
      JoinClause
      
        - Object
- Expression
- JoinClause
- Sequel::SQL::JoinOnClause
 
- Defined in:
- lib/sequel/sql.rb,
 lib/sequel/extensions/eval_inspect.rb
Overview
Represents an SQL JOIN clause with ON conditions.
Instance Attribute Summary collapse
- 
  
    
      #on  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The conditions for the join. 
Attributes inherited from JoinClause
Instance Method Summary collapse
- 
  
    
      #initialize(on, *args)  ⇒ JoinOnClause 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Create an object with the ON conditions and call super with the remaining args. 
Methods inherited from JoinClause
#column_aliases, #table, #table_alias
Methods inherited from Expression
#==, attr_reader, #clone, #eql?, #hash, inherited, #inspect
Constructor Details
#initialize(on, *args) ⇒ JoinOnClause
Create an object with the ON conditions and call super with the remaining args.
| 1589 1590 1591 1592 | # File 'lib/sequel/sql.rb', line 1589 def initialize(on, *args) @on = on super(*args) end | 
Instance Attribute Details
#on ⇒ Object (readonly)
The conditions for the join
| 1585 1586 1587 | # File 'lib/sequel/sql.rb', line 1585 def on @on end |