1 package DBIx::Class::CDBICompat;
5 use base qw/DBIx::Class/;
7 __PACKAGE__->load_own_components(qw/
29 #DBIx::Class::ObjIndexStubs
34 DBIx::Class::CDBICompat - Class::DBI Compatability layer.
38 use base qw/DBIx::Class/;
39 __PACKAGE__->load_components(qw/CDBICompat Core DB/);
43 DBIx::Class features a fully featured compability layer with L<Class::DBI>
44 to ease transition for existing CDBI users. In fact, this class is just a
45 receipe containing all the features emulated. If you like, you can choose
46 which features to emulate by building your own class and loading it like
49 __PACKAGE__->load_own_components(qw/CDBICompat/);
51 this will automatically load the features included in My::DB::CDBICompat,
52 provided it looks something like this:
54 package My::DB::CDBICompat;
55 __PACKAGE__->load_components(qw/
56 CDBICompat::ColumnGroups
73 Allows you to turn on automatic updates for column values.
89 Responsible for HasA relationships.
93 Responsible for HasMany relationships.
101 The live object index tries to ensure there is only one version of a object
102 in the perl interprenter.
106 Responsible for MightHave relationships.
120 This class implements the trigger functionality.
129 Matt S. Trout <mst@shadowcatsystems.co.uk>
133 You may distribute this code under the same terms as Perl itself.