class Sequel::SQL::JoinUsingClause

Represents an SQL JOIN clause with USING conditions.

Attributes

using[R]

The columns that appear in both tables that should be equal for the conditions to match.

Public Class Methods

new(cols, *args) click to toggle source

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

Calls superclass method Sequel::SQL::JoinClause::new
     # File lib/sequel/sql.rb
1595 def initialize(cols, *args)
1596   @using = cols 
1597   super(*args)
1598 end

Private Instance Methods

inspect_args() click to toggle source

JoinOnClause's initializer takes the using argument as the first argument instead of the last.

    # File lib/sequel/extensions/eval_inspect.rb
157 def inspect_args
158   [:using, :join_type, :table_expr] 
159 end