名前 概要 詳細 メソッド belongs_to has_many might_have has_one many_to_many 著者 ライセンス 原文へのリンク 翻訳者 名前 DBIx::Class::Relationship - テーブル間のリレーションシップ 概要 MyDB::Schema::Actor->has_many('actorroles' => 'MyDB::Schema::ActorRole', 'actor'); MyDB::Schema::Role->has_many('actorroles' => 'MyDB::Schema::ActorRole', 'role'); MyDB::Schema::ActorRole->belongs_to('role' => 'MyDB::Schema::Role'); MyDB::Schema::ActorRole->belon