Sha256: 387645e768aafacad164154cb8ea48f7b3b06ad4988deee1953c96455d9bdf00

Contents?: true

Size: 742 Bytes

Versions: 1

Compression:

Stored size: 742 Bytes

Contents

Relational join (and cartesian product)

SYNOPSIS

    #(signature)

DESCRIPTION

This operator computes the (natural) join of its operands. 

Natural join means that, unlike what is commonly used in SQL, the join is 
performed on common attribute names. You can use the `rename` operator if this 
behavior does not fit your needs.

When operands have no attribute in common, this operator naturally "degenerates" 
to a cartesian product.

EXAMPLE

    # Computes natural join of suppliers and supplies (on sid, the only 
    # attribute they have in common)
    !(alf join suppliers supplies)

    # The following example demontrates the cartesian product with a generated 
    # relation
    !(alf generator -- 3 -- num | alf join cities)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-0.10.0 doc/operators/relational/join.md