Search code examples
dbix-classperl

Use DBIx::Class without loading all tables


They say in comments that DBIx::Class can be used without loading all tables.

How to use DBIx::Class without loading all tables? (I need this for performance reasons.)


Solution

  • One way might be to use load_classes() instead of load_namespaces().

    But you never explained why you think you can't switch to a persistent environment where this load time wouldn't be a problem.