[Catalyst] how to reuse Catalyst Schema for non-web purposes?

Matt S Trout dbix-class at trout.me.uk
Wed Apr 22 13:52:46 GMT 2009


On Wed, Apr 22, 2009 at 02:41:34PM +1000, kakimoto at tpg.com.au wrote:
> hi guys,
>   I just looked at my app and found that I need to reuse the Schema
> files found in my 'Schema' directory.

Your DBIC classes aren't connected to the Catalyst app at all. That's
intentional. Just use DBIx::Class the way DBIx::Class is documented in and
of itself. The DBIx::Class list is also on http://lists.scsys.co.uk/ if you
get stuck - if you're getting an error show your code and the complete error
on there.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list