[Dbix-class] specify join type

Bernhard Graf dbic3 at augensalat.de
Thu Feb 19 17:13:35 GMT 2009


Nigel Metheringham wrote:

> Not easily for a single query, however a relationship can have a
> join_type attribute - relationship attributes are documented in
> DBIx::Class::Relationship::Base under add_relationship

I know this, but I actually wanted to use both join types.

> You can always have 2 identical, other than the join_type attribute,
> relationships defined under different names, to allow both forms of
> joins to be performed as required...

Good idea!

-- 
Bernhard Graf



More information about the DBIx-Class mailing list