use strict;
use warnings;
+use base 'DBIx::Class';
+
=head1 NAME
DBIx::Class::CDBICompat::AbstractSearch - Emulates Class::DBI::AbstractSearch
use strict;
use warnings;
+use base 'DBIx::Class';
+
use Scalar::Util 'blessed';
use namespace::clean;
use strict;
use warnings;
+use base 'DBIx::Class';
+
sub _attrs {
my ($self, @atts) = @_;
return @{$self->{_column_data}}{@atts};
use strict;
use warnings;
-use base qw/Class::Data::Inheritable/;
+use base 'DBIx::Class';
__PACKAGE__->mk_classdata('__AutoCommit');
use strict;
use warnings;
+use base 'DBIx::Class';
+
sub _register_column_group {
my ($class, $group, @cols) = @_;
return $class->next::method($group => map lc, @cols);
use strict;
use warnings;
+use base 'DBIx::Class';
=head1 NAME
package # hide from PAUSE
DBIx::Class::CDBICompat::Constraints;
+use base 'DBIx::Class';
+
use strict;
use warnings;
use strict;
use warnings;
+use base 'DBIx::Class';
+
use Carp;
=head1 NAME
use strict;
use warnings;
+
+use base 'DBIx::Class';
+
use DBIx::Class::_Util 'detected_reinvoked_destructor';
use namespace::clean;
use strict;
use warnings;
-#use base qw/Class::Accessor/;
+use base 'DBIx::Class';
sub get {
my ($self, @cols) = @_;
use DBIx::ContextualFetch;
use DBIx::Class::_Util qw(quote_sub perlstring);
-use base qw(Class::Data::Inheritable);
+use base 'DBIx::Class';
__PACKAGE__->mk_classdata('sql_transformer_class' =>
'DBIx::Class::CDBICompat::SQLTransformer');
use strict;
use warnings;
+use base 'DBIx::Class';
=head1 NAME
use strict;
use warnings;
+use base 'DBIx::Class';
+
sub resultset_instance {
my $self = shift;
my $rs = $self->next::method(@_);
use Scalar::Util qw/weaken/;
-use base qw/Class::Data::Inheritable/;
+use base 'DBIx::Class';
__PACKAGE__->mk_classdata('purge_object_index_every' => 1000);
__PACKAGE__->mk_classdata('live_object_index' => { });
use strict;
use warnings;
+use base 'DBIx::Class';
+
=head1 NAME
DBIx::Class::CDBICompat::NoObjectIndex - Defines empty methods for object indexing. They do nothing
# leaving the compat layer as-is, something may in fact depend on that
use warnings FATAL => 'all';
+use base 'DBIx::Class';
+
*pager = \&page;
sub page {
use strict;
use warnings;
+use base 'DBIx::Class';
+
sub make_read_only {
my $proto = shift;
$proto->add_trigger("before_$_" => sub { shift->throw_exception("$proto is read only") })
use strict;
use warnings;
+use base 'DBIx::Class';
+
use DBIx::Class::_Util 'quote_sub';
=head1 NAME
use strict;
use warnings;
-use base 'Class::Data::Inheritable';
+use base 'DBIx::Class';
use Clone;
use DBIx::Class::CDBICompat::Relationship;
# leaving the compat layer as-is, something may in fact depend on that
use warnings FATAL => 'all';
+use base 'DBIx::Class';
+
sub retrieve {
my $self = shift;
die "No args to retrieve" unless @_ > 0;
use strict;
use warnings;
+use base 'DBIx::Class';
+
=head1 NAME
DBIx::Class::CDBICompat::SQLTransformer - Transform SQL
use strict;
use warnings;
-use Scalar::Util;
+use base 'DBIx::Class';
use overload
'""' => sub { return shift->stringify_self; },
use strict;
use warnings;
-use base qw/Class::Data::Inheritable/;
+use base 'DBIx::Class';
use Carp;
use strict;
use warnings;
+
+use base 'DBIx::Class';
+
use Class::Trigger;
sub insert {
cdbicompat => {
req => {
- 'Class::Data::Inheritable' => '0',
'Class::Trigger' => '0',
'DBIx::ContextualFetch' => '0',
'Clone' => '0.32',
use Test::More;
use DBICTest;
+use DBIx::Class::Optional::Dependencies;
my @global_ISA_tail = qw(
DBIx::Class
ref( $art->result_source->resultset ),
ref( $art->result_source->schema ),
qw( AAA BBB CCC ),
+ ((! DBIx::Class::Optional::Dependencies->req_ok_for('cdbicompat') ) ? () : do {
+ unshift @INC, 't/cdbi/testlib';
+ map { eval "require $_" or die $@; $_ } qw(
+ Film Lazy Actor ActorAlias ImplicitInflate
+ );
+ }),
);
use DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server;