1 package # hide from PAUSE
2 DBIx::Class::CDBICompat::AttributeAPI;
8 my ($self, @atts) = @_;
9 return @{$self->{_column_data}}{@atts};
14 sub _attribute_store {
16 my $vals = @_ == 1 ? shift: {@_};
17 $self->store_column($_, $vals->{$_}) for keys %{$vals};
22 my $vals = @_ == 1 ? shift: {@_};
23 $self->set_column($_, $vals->{$_}) for keys %{$vals};
26 sub _attribute_delete {
27 my ($self, $attr) = @_;
28 delete $self->{_column_data}{$attr};
31 sub _attribute_exists {
32 my ($self, $attr) = @_;
33 $self->has_column_loaded($attr);