has translator => ( is => 'rw' );
-sub DESTROY {
- my $self = shift;
- undef $_ for values %{ $self->_tables };
- undef $_ for values %{ $self->_views };
-}
-
1;
=pod
return 1;
};
-sub DESTROY {
- my $self = shift;
- undef $self->{'table'}; # destroy cyclical reference
-}
-
# Must come after all 'has' declarations
around new => \&ex2err;
return 1;
};
-sub DESTROY {
-#
-# Destroy cyclical references.
-#
- my $self = shift;
- undef $self->{'table'};
- undef $self->{'foreign_key_reference'};
-}
-
# Must come after all 'has' declarations
around new => \&ex2err;
return 1;
};
-sub DESTROY {
- my $self = shift;
- undef $self->{'table'}; # destroy cyclical reference
-}
-
# Must come after all 'has' declarations
around new => \&ex2err;
return 1;
};
-sub DESTROY {
- my $self = shift;
- undef $self->{'schema'}; # destroy cyclical reference
-}
-
# Must come after all 'has' declarations
around new => \&ex2err;
return wantarray ? @cons : \@cons;
}
-sub DESTROY {
- my $self = shift;
- undef $self->{'schema'}; # destroy cyclical reference
- undef $_ for @{ $self->{'constraints'} };
- undef $_ for @{ $self->{'indices'} };
- undef $_ for values %{ $self->{'fields'} };
-}
-
# Must come after all 'has' declarations
around new => \&ex2err;
return 1;
};
-sub DESTROY {
- my $self = shift;
- undef $self->{'schema'}; # destroy cyclical reference
-}
-
# Must come after all 'has' declarations
around new => \&ex2err;
return 1;
};
-sub DESTROY {
- my $self = shift;
- undef $self->{'schema'}; # destroy cyclical reference
-}
-
# Must come after all 'has' declarations
around new => \&ex2err;