Module: Axiom::Algebra::Join::Methods
- Extended by:
- Axiom::Aliasable
- Defined in:
- lib/axiom/algebra/join.rb
Instance Method Summary collapse
-
#join(other) {|relation| ... } ⇒ Join, Restriction
Return a relation that is the join of two relations.
Methods included from Axiom::Aliasable
Instance Method Details
#join(other) {|relation| ... } ⇒ Join, Restriction
Return a relation that is the join of two relations
192 193 194 195 196 |
# File 'lib/axiom/algebra/join.rb', line 192 def join(other) relation = Join.new(self, other) relation = relation.restrict { |context| yield context } if block_given? relation end |