dhumphreys / cfrel

ColdFusion Relational Algebra Framework
16 stars 5 forks source link

Allow for cross joins #7

Closed liferealized closed 13 years ago

liferealized commented 13 years ago

The library currently doesn't like me trying to pass in "cross" for the join type.

dhumphreys commented 13 years ago

I have added support for CROSS and NATURAL join types. Simply pass 'false' in the condition argument for Relation#join in order to skip the ON portion of the join. For example: rel.join(model("user"), false, [], 'cross');

liferealized commented 13 years ago

Sweet!