开发者

Auto Generate Objects in DBIx::Class ORM in Perl

开发者 https://www.devze.com 2022-12-22 14:48 出处:网络
I started learning DBIx::class and I reach the point where you have to create the Objects that represents tables. Should this classes be created manually ( hard coding all the fields and relationships

I started learning DBIx::class and I reach the point where you have to create the Objects that represents tables. Should this classes be created manually ( hard coding all the fields and relationships.....) or there is a way to generate them automatically using the database schema. I read s开发者_如何学运维omething about loaders, but i did not know where they are really used.


Odd that this question was never answered. Anyways I think what the poster is looking for is DBIx::Class::Schema::Loader

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号