[Dbix-class] How to use DBIx::Class on a view

Jules Bean jules at jellybean.co.uk
Tue Nov 15 18:56:03 CET 2005


Nigel Metheringham wrote:
> Can/should I wrap a ::Table based class around it, or do I need to do
> other magic?
>
>   
No need for any magic, it works fine. Just 
__PACKAGE__->table('viewname'); __PACKAGE__->columns qw(....) as usual.

Jules



More information about the Dbix-class mailing list