andy at hybridized.org
Thu Jul 28 22:43:12 CEST 2005
Chisel Wright wrote:
> On Thu, Jul 28, 2005 at 12:14:48PM -0400, Andy Grundman wrote:
>>I think you're just missing a use base 'MyApp::M::CDBI'. You probably
>>also need the table/column definitions too.
> It doesn't seem to work.
> You also don't seem to need to do this for the usual
> MyApp::M::CDBI::Table classes
Well, Loader doesn't support any way to read and create classes from
database views, it will only look at tables. So you'll have to create
everything manually to use a view as a "table".
I assume adding the 'use base' line at least changed the error message
you're getting though?
More information about the Catalyst