[Dbix-class] Re: quote_char, order_by and DESC
Adam Sjøgren
adsj at novozymes.com
Fri Oct 19 14:35:08 GMT 2007
On Thu, 18 Oct 2007 18:55:43 +0100, Matt wrote:
> On Thu, Oct 18, 2007 at 04:39:54PM +0200, Adam Sjøgren wrote:
>> $schema->storage->sql_maker->quote_char('"');
>> $schema->storage->sql_maker->name_sep('.');
>> This works fine until a search needs to be ordered descending; passing
>> order_by=>'name DESC' results in:
> \'name DESC'
Ah, thanks. (I guess you meant \'"name" DESC').
There was some discussion about it last year, and a patch:
<http://thread.gmane.org/gmane.comp.lang.perl.modules.dbix-class/1001>
I guess that faded away?
Best regards,
Adam
--
Adam Sjøgren
adsj at novozymes.com
More information about the DBIx-Class
mailing list