Class: Sequel::SQL::JoinUsingClause
- Inherits:
-
JoinClause
- Object
- Expression
- JoinClause
- Sequel::SQL::JoinUsingClause
- Defined in:
- lib/sequel/sql.rb
Overview
Represents an SQL JOIN table USING (columns) clause.
Instance Attribute Summary collapse
-
#using ⇒ Object
readonly
The columns that appear in both tables that should be equal for the conditions to match.
Attributes inherited from JoinClause
#join_type, #table, #table_alias
Instance Method Summary collapse
-
#initialize(using, *args) ⇒ JoinUsingClause
constructor
Create an object with the given USING conditions and call super with the remaining args.
Methods inherited from Expression
attr_reader, comparison_attrs, #eql?, #lit, #sql_literal
Constructor Details
#initialize(using, *args) ⇒ JoinUsingClause
Create an object with the given USING conditions and call super with the remaining args.
709 710 711 712 |
# File 'lib/sequel/sql.rb', line 709 def initialize(using, *args) @using = using super(*args) end |
Instance Attribute Details
#using ⇒ Object (readonly)
The columns that appear in both tables that should be equal for the conditions to match.
705 706 707 |
# File 'lib/sequel/sql.rb', line 705 def using @using end |