Class: Sequel::SQL::JoinUsingClause

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

Represents an SQL JOIN table USING (columns) clause.

### Methods

new to_s

### Attributes

using | [R] | The columns that appear both tables that should be equal for the conditions to match.

### Public Class methods

new(using, *args)

Create an object with the given conditions and default value.

[Source]

         # File lib/sequel_core/sql.rb, line 669
    669:       def initialize(using, *args)
    670:         @using = using
    671:         super(*args)
    672:       end

### Public Instance methods

to_s(ds)

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 676
    676:       def to_s(ds)
    677:         ds.join_using_clause_sql(self)
    678:       end

[Validate]