[Dbix-class] Overriding limit_dialect
Matt S Trout
dbix-class at trout.me.uk
Fri Jan 27 15:01:24 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 :)
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Dbix-class
mailing list