[Dbix-class] specify join type
Nigel Metheringham
nigel.metheringham at dev.intechnology.co.uk
Thu Feb 19 16:58:28 GMT 2009
On 19 Feb 2009, at 16:35, Bernhard Graf wrote:
> Is it possible to specify the join type for the result set?
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
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...
[Remember that join/prefetch in resultsets refer to relations and not
tables]
Nigel.
--
[ Nigel Metheringham Nigel.Metheringham at InTechnology.com ]
[ - Comments in this message are my own and not ITO opinion/policy - ]
More information about the DBIx-Class
mailing list