문제

I have a bunch of DBIx::Class modules created automatically by dbicdump. It does a great job, but is there a way to remove some relationships it creates? Or prevent a select few from being created? I saw skip_relationships, but that's an all-or-nothing. Any thoughts?

도움이 되었습니까?

해결책

Looking at the source of DBIx::Class::Schema::Loader::RelBuilder, it seems that this isn't possible. But I think it's a useful feature that should be easy to implement. You might want to open a wishlist ticket.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top