package DBIx::Class::DB;
+use strict;
+use warnings;
+
use base qw/DBIx::Class/;
use DBIx::Class::Schema;
use DBIx::Class::Storage::DBI;
__PACKAGE__->load_components(qw/ResultSetProxy/);
-*dbi_commit = \&txn_commit;
-*dbi_rollback = \&txn_rollback;
+{
+ no warnings 'once';
+ *dbi_commit = \&txn_commit;
+ *dbi_rollback = \&txn_rollback;
+}
sub storage { shift->schema_instance(@_)->storage; }
return $source->resultset;
}
-=head1 NAME
+=head1 NAME
DBIx::Class::DB - Non-recommended classdata schema component
****DEPRECATED****
-Sets or gets the class to use for resolving a class. Defaults to
+Sets or gets the class to use for resolving a class. Defaults to
L<DBIx::Class::ClassResolver::Passthrough>, which returns whatever you give
it. See resolve_class below.