Class: Locomotive::RelationalAlgebra::PredLessThan
- 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
47 48 49 50 51 52 |
# File 'lib/locomotive/relational_algebra/operators/join/predicates.rb', line 47 def to_xml comparison :kind => :lt do [column(:name => first.to_xml, :new => false, :position => 1), column(:name => second.to_xml, :new => false, :position => 2)].join end end |