[Dbix-class] Overriding limit_dialect

Jesper Krogh jesper at krogh.cc
Fri Jan 27 15:23:20 CET 2006


> On Fri, Jan 27, 2006 at 02:47:31PM +0100, Jesper Krogh wrote:
>
>>> Matt S Trout wrote:
>>>
>>>> __PACKAGE__->connection(...);
>>>> __PACKAGE__->storage->sql_maker->limit_dialect('postgresql');
>>>>
>>>>
>>
>> This one seems to work better:
>> __PACKAGE__->storage->sql_maker->{limit_dialect} = 'Top';
>>
>>
>> There seems to be no accessor for limit_dialect available.
>>
>
> Bugger. If you want to add one to DBIC::Abstract, a patch would be
> appreciated.
>
> Even more so would be a cookbook entry describing this for the next
> person to want to do it :)

Both things attached.


Jesper

-- 
Jesper Krogh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: limit-dialect.patch
Type: text/x-patch
Size: 1632 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/dbix-class/attachments/20060127/0afa58ca/limit-dialect.bin


More information about the Dbix-class mailing list