Don't use this code in production! But play around with it to explore the issue and you can see how to go up and down the chain of the objects involved in a DBIC model within Cat.
$c->model($dbic_package)->result_source->schema->storage->dbh->tables();(update: 30 June 2009) I realized that the path above is overly verbose, this should be equivalent (note, you want the model name, not any of the result class names; e.g., DBIC, not DBIC::User)-
$c->model($model_name)->storage->dbh->tables();In reply to Re: Getting a table list from Catalyst/DBIx::Class
by Your Mother
in thread Getting a table list from Catalyst/DBIx::Class
by actualize
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |