class Sequel::SQL::JoinOnClause

Represents an SQL JOIN clause with ON conditions.

Attributes

on[R]

The conditions for the join

Public Class Methods

new(on, *args) click to toggle source

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

Calls superclass method Sequel::SQL::JoinClause.new
# File lib/sequel/sql.rb, line 1572
def initialize(on, *args)
  @on = on
  super(*args)
end

Private Instance Methods

inspect_args() click to toggle source

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

# File lib/sequel/extensions/eval_inspect.rb, line 152
def inspect_args
  [:on, :join_type, :table_expr] 
end