Help for this page

Select Code to Download


  1. or download this
    my $rs1 = $schema->resultset("table1");
    my $rs2 = $schema->resultset("table2");
    
    my $o1 = $rs1->find({ id => $id });
    my $o2 = $rs2->create_copy($o1); # does something like this exist?
    
  2. or download this
    my $o = $rs1->find({ id => $id });
    my $hash_ref = $o->as_hashref; # does this exist?