Class: Locomotive::RelationalAlgebra::Equivalence
- Defined in:
- lib/locomotive/relational_algebra/operators/join/predicates.rb
Instance Attribute Summary
Attributes inherited from Predicate
Instance Method Summary collapse
Methods inherited from Predicate
Methods included from XML
Constructor Details
This class inherits a constructor from Locomotive::RelationalAlgebra::Predicate
Instance Method Details
#to_xml ⇒ Object
38 39 40 41 42 43 |
# File 'lib/locomotive/relational_algebra/operators/join/predicates.rb', line 38 def to_xml comparison :kind => :eq do [column(:name => first.to_xml, :new => false, :position => 1), column(:name => second.to_xml, :new => false, :position => 2)].join end end |