Help for this page

Select Code to Download


  1. or download this
    package MyApp::Schema::Result::Comment;
    use base qw/DBIx::Class::Core/;
    ...
        parent => 'MyApp::Schema::Result::XXX',
        'YYY' # FK_id? for ids of Play or Concert or ...?
    );
    
  2. or download this
    package MyApp::Schema::Result::Play;
    use base qw/DBIx::Class::Core/;
    ...
        comments => 'MyApp::Schema::Result::Comment',
        'XXX' # what can go here? shall I add a FK_id in "comment"?
    );