use Carp::Clan qw/^DBIx::Class/;
use Class::C3;
-our $VERSION = '0.05002';
+our $VERSION = '0.06001';
=head1 NAME
# DBD::DB2 doesn't follow the DBI API for ->tables
sub _tables_list {
- my $self = shift;
+ my ($self, $opts) = @_;
my $dbh = $self->schema->storage->dbh;
my @tables = map { lc } $dbh->tables(
s/\Q$self->{_quoter}\E//g for @tables;
s/^.*\Q$self->{_namesep}\E// for @tables;
- return @tables;
+ return $self->_filter_tables(\@tables, $opts);
}
sub _table_pk_info {
}
sub _extra_column_info {
- my ($self, $info) = @_;
+ my ($self, $table, $column, $info, $dbi_info) = @_;
my %extra_info;
- my ($table, $column) = @$info{qw/TABLE_NAME COLUMN_NAME/};
-
my $dbh = $self->schema->storage->dbh;
my $sth = $dbh->prepare_cached(
q{