r4570@obrien (orig r392): castaway | 2005-12-14 14:22:23 +0000
Patches from Andreas Hartmeier applied to PK::Auto
r4601@obrien (orig r396): marcus | 2005-12-15 15:59:43 +0000
make more sane error message for missing table.
r4632@obrien (orig r397): bluefeet | 2005-12-15 17:07:45 +0000
Adding first version of DBIx::Class::Validation.
r4633@obrien (orig r398): ningu | 2005-12-15 22:59:01 +0000
- PK::Auto doc patch from dwc
r4641@obrien (orig r400): dwc | 2005-12-18 17:59:04 +0000
Update examples to be more explicit about load_components order
r4642@obrien (orig r401): bricas | 2005-12-19 20:19:14 +0000
added cookbook example: setting default values
Relationship
PK
Row
- Table
+ TableInstance
+ ResultSetInstance
Exception
- AccessorGroup/);
+ AccessorGroup
+ Validation/);
1;
use warnings;
use DBIx::Class::ResultSet;
-use Data::Page;
+ use Carp qw/croak/;
+
use base qw/DBIx::Class/;
+__PACKAGE__->load_components(qw/AccessorGroup/);
-__PACKAGE__->mk_classdata('_columns' => {});
-
-__PACKAGE__->mk_classdata('_table_name');
-
-__PACKAGE__->mk_classdata('table_alias'); # FIXME: Doesn't actually do anything yet!
-
-__PACKAGE__->mk_classdata('_resultset_class' => 'DBIx::Class::ResultSet');
-
-sub iterator_class { shift->_resultset_class(@_) }
+__PACKAGE__->mk_group_accessors('simple' =>
+ qw/_columns name resultset_class result_class storage/);
=head1 NAME