Help for this page

Select Code to Download


  1. or download this
    __PACKAGE__->add_columns(
      "PID",
    ...
      { "foreign.PID" => "self.PID" },
      { cascade_copy => 0, cascade_delete => 0 },
    );
    
  2. or download this
    __PACKAGE__->add_columns(
      "RID",
    ...
      { PID => "PID" },
      { is_deferrable => 1, on_delete => "NO ACTION", on_update => "NO ACT
    +ION" },
    );
    
  3. or download this
    method get_user_request_status() {
        my @proc_requests = $schema->resultset( 'TblRequests' )->search({
    ...
       return \@proc_requests if @proc_requests;
      }
    }