if (ref $attrs->{$key}) {
my $info = $class->relationship_info($key);
if ($info && $info->{attrs}{accessor}
- && $info->{attrs}{accessor} eq 'single')
+ && $info->{attrs}{accessor} eq 'single')
{
$new->set_from_related($key, $attrs->{$key});
$related->{$key} = $attrs->{$key};
}
Returns a true value if the column value has been loaded from the
-database (or set locally).
+database (or set locally).
=cut
if (exists $self->{_inflated_column}) {
foreach my $col (keys %{$self->{_inflated_column}}) {
$self->store_column($col, $self->_deflated_column($col, $self->{_inflated_column}{$col}))
- unless exists $self->{_column_data}{$col};
+ unless exists $self->{_column_data}{$col};
}
}
return %{$self->{_column_data}};