Class Sequel::SQL::JoinOnClause
In: lib/sequel_core/sql.rb
Parent: JoinClause

Represents an SQL JOIN table ON conditions clause.

Methods

new   to_s  

Attributes

on  [R]  The conditions for the join

Public Class methods

Create an object with the given conditions and default value.

[Source]

     # File lib/sequel_core/sql.rb, line 649
649:       def initialize(on, *args)
650:         @on = on
651:         super(*args)
652:       end

Public Instance methods

Delegate the creation of the resulting SQL to the given dataset, since it may be database dependent.

[Source]

     # File lib/sequel_core/sql.rb, line 656
656:       def to_s(ds)
657:         ds.join_on_clause_sql(self)
658:       end

[Validate]