Thats nasty!!!

You should have told me this a year ago!

-Alex


-----Original Message-----
From: Jess Robinson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 30, 2008 1:53 PM
To: DBIx::Class user and developer list
Subject: Re: [Dbix-class] DBIx::Class query with UNION and RIGHT JOIN



On Mon, 28 Jan 2008, Will Hawes wrote:

> On 27/01/2008, edwrb . <[EMAIL PROTECTED]> wrote:
>>
>>  Hey gang,
>>
>> I have a UNION query with a right join that I need to implement in
>> DBIx::Class.
>
> AFAIK, DBIC can't do that (yet ;):
>
> http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/Manual/Cookbook.pod#Arbitrary_SQL_through_a_custom_ResultSource

Well not natively, but nothing (currently) restricts you from putting
"whatever you like" in an order_by clause, so..

Jess

_______________________________________________
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]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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