in reply to Getting a table list from Catalyst/DBIx::Class

I hope to avoid hard coding the table names by grabbing them out of the database.

Do you plan to create the tables dynamically or why don't you want them in your code?

Maybe DBIx::Class::Schema::Loader can be of help, it is designed to generate a schema from a running database.

  • Comment on Re: Getting a table list from Catalyst/DBIx::Class

Replies are listed 'Best First'.
Re^2: Getting a table list from Catalyst/DBIx::Class
by actualize (Monk) on Sep 16, 2008 at 19:09 UTC

    I already have the schema created. So far I am able to use table joins to get the data I need within the database. However, I want to search the data by category. It would be nice if I create a new table, I would only have to update schema files and already have the new table name available in my code.

    -Actualize