[Dbix-class] Updated test for quoted sort by.

Matt S Trout dbix-class at trout.me.uk
Sun Dec 17 13:35:57 GMT 2006


On 14 Dec 2006, at 10:15, Jesper Krogh wrote:

> This test failes.. when adding the "aliased" prefix of the sort  
> column.
>
> such as "order by me.year desc" => order by `me`.`year` desc
>
> Basically a resend, if was discussed a bit earlier with some added  
> syntax
> of handling this stuff.

I thought the resolution was to use { -desc => 'col' } ? The DWIM is  
nice in theory but won't it spanner anybody with a column called 'asc' ?

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Dbix-class mailing list