[Catalyst] MyApp::M::CDBI::MyView
Andy Grundman
andy at hybridized.org
Thu Jul 28 18:14:48 CEST 2005
Chisel Wright wrote:
> Just experimenting with this for the first time - I'm sure I saw someone
> mention that they've done this before.
>
> psql> create view my_view as select * from my_table;
>
> ---- cut here ----
> package MyApp::M::CDBI::MyView;
> use strict;
>
> 1;
> ---- cut here ----
I think you're just missing a use base 'MyApp::M::CDBI'. You probably
also need the table/column definitions too.
-Andy
More information about the Catalyst
mailing list