porton
porton

Reputation: 5801

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.)

Upvotes: 0

Views: 65

Answers (1)

Dave Cross
Dave Cross

Reputation: 69264

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.

Upvotes: 5

Related Questions