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, line 1588
def initialize(cols, *args)
  @using = cols 
  super(*args)
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, line 162
def inspect_args
  [:using, :join_type, :table_expr] 
end