DBIx-Class-Result-ExternalAttribute
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/DBIx/Class/Result/ExternalAttribute.pm view on Meta::CPAN
}
return $rh_fields;
}
=head2 update
overdefinition of update function
=cut
sub update {
my ( $self, $rh_fields ) = @_;
my $klass = ref $self;
foreach my $rel ( keys %{ $klass->rh_klass_attribute_column } ) {
foreach my $col ( @{ $klass->rh_klass_attribute_column($rel)->{'columns'} } ) {
if ( defined $rh_fields->{$col} ) {
$self->$rel->$col( $rh_fields->{$col} );
delete $rh_fields->{$col};
}
}
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.503 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )