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             [email protected] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to