ActiveRecordãªORãããã³ã°ã¯Javaã®Torqueã大æã«è§¦ã£ããããªã®ã§ãããªå®è£ ãã¶ã¤ã³ãæ£ããã®ãã©ãããããã¾ããããDBIx::Class㧠package CD::Schema::Albums; use strict; use warnings; use base qw/DBIx::Class/; __PACKAGE__->load_components(qw/Core/); __PACKAGE__->table('albums'); __PACKAGE__->add_columns(qw/ id artist title /); __PACKAGE__->set_primary_key('id'); __PACKAGE__->belongs_to('artist' => 'CD::Schema::Artists'); __PACKAGE__->has_many(
{{#tags}}- {{label}}
{{/tags}}