1 package DBIx::Class::CDBICompat;
5 use base qw/DBIx::Class/;
7 __PACKAGE__->load_own_components(qw/
30 #DBIx::Class::ObjIndexStubs
35 DBIx::Class::CDBICompat - Class::DBI Compatability layer.
39 use base qw/DBIx::Class/;
40 __PACKAGE__->load_components(qw/CDBICompat Core DB/);
44 DBIx::Class features a fully featured compability layer with L<Class::DBI>
45 to ease transition for existing CDBI users. In fact, this class is just a
46 receipe containing all the features emulated. If you like, you can choose
47 which features to emulate by building your own class and loading it like
50 __PACKAGE__->load_own_components(qw/CDBICompat/);
52 this will automatically load the features included in My::DB::CDBICompat,
53 provided it looks something like this:
55 package My::DB::CDBICompat;
56 __PACKAGE__->load_components(qw/
57 CDBICompat::ColumnGroups
74 Allows you to turn on automatic updates for column values.
90 Responsible for HasA relationships.
94 Responsible for HasMany relationships.
100 =item LiveObjectIndex
102 The live object index tries to ensure there is only one version of a object
103 in the perl interprenter.
107 Responsible for MightHave relationships.
121 This class implements the trigger functionality.
130 Matt S. Trout <mst@shadowcatsystems.co.uk>
134 You may distribute this code under the same terms as Perl itself.