Class: Sequel::SQL::JoinUsingClause
- Inherits:
- 
      JoinClause
      
        - Object
- Expression
- JoinClause
- Sequel::SQL::JoinUsingClause
 
- Defined in:
- lib/sequel/sql.rb,
 lib/sequel/extensions/eval_inspect.rb
Overview
Represents an SQL JOIN clause with USING conditions.
Instance Attribute Summary collapse
- 
  
    
      #using  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The columns that appear in both tables that should be equal for the conditions to match. 
Attributes inherited from JoinClause
Instance Method Summary collapse
- 
  
    
      #initialize(cols, *args)  ⇒ JoinUsingClause 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Create an object with the given USING 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(cols, *args) ⇒ JoinUsingClause
Create an object with the given USING conditions and call super with the remaining args.
| 1605 1606 1607 1608 | # File 'lib/sequel/sql.rb', line 1605 def initialize(cols, *args) @using = cols super(*args) end | 
Instance Attribute Details
#using ⇒ Object (readonly)
The columns that appear in both tables that should be equal for the conditions to match.
| 1601 1602 1603 | # File 'lib/sequel/sql.rb', line 1601 def using @using end |