Class: Arel::Relation::Operable::JoinOperation
- Inherits:
-
Struct
- Object
- Struct
- Arel::Relation::Operable::JoinOperation
- Defined in:
- lib/arel/algebra/relations/relation.rb
Instance Attribute Summary collapse
-
#join_class ⇒ Object
Returns the value of attribute join_class.
-
#relation1 ⇒ Object
Returns the value of attribute relation1.
-
#relation2 ⇒ Object
Returns the value of attribute relation2.
Instance Method Summary collapse
Instance Attribute Details
#join_class ⇒ Object
Returns the value of attribute join_class
77 78 79 |
# File 'lib/arel/algebra/relations/relation.rb', line 77 def join_class @join_class end |
#relation1 ⇒ Object
Returns the value of attribute relation1
77 78 79 |
# File 'lib/arel/algebra/relations/relation.rb', line 77 def relation1 @relation1 end |
#relation2 ⇒ Object
Returns the value of attribute relation2
77 78 79 |
# File 'lib/arel/algebra/relations/relation.rb', line 77 def relation2 @relation2 end |
Instance Method Details
#on(*predicates) ⇒ Object
78 79 80 |
# File 'lib/arel/algebra/relations/relation.rb', line 78 def on(*predicates) join_class.new(relation1, relation2, *predicates) end |