use namespace::clean;
use DBIx::Class::Schema::Loader::Table ();
-our $VERSION = '0.07036_03';
+our $VERSION = '0.07039';
__PACKAGE__->mk_group_accessors('simple', qw/
_disable_pk_detection
return $self->schema->storage->dbh;
}
+sub _table_is_view {
+ my ($self, $table) = @_;
+
+ my $info = $self->_dbh_table_info($self->dbh, $table)
+ or return 0;
+ return $info->{TABLE_TYPE} eq 'VIEW';
+}
+
=head1 SEE ALSO
L<DBIx::Class::Schema::Loader>