lib/DBIx/Class/Relationship/ManyToMany.pm
lib/DBIx/Class/Relationship/ProxyMethods.pm
lib/DBIx/Class/ResultSet.pm
+lib/DBIx/Class/ResultSetManager.pm
lib/DBIx/Class/ResultSetProxy.pm
lib/DBIx/Class/ResultSource.pm
lib/DBIx/Class/ResultSource/Table.pm
lib/DBIx/Class/ResultSourceProxy/Table.pm
lib/DBIx/Class/Row.pm
lib/DBIx/Class/Schema.pm
+lib/DBIx/Class/Serialize.pm
lib/DBIx/Class/Storage/DBI.pm
lib/DBIx/Class/Storage/DBI/Cursor.pm
lib/DBIx/Class/Test/SQLite.pm
t/19quotes.t
t/20setuperrors.t
t/30dbicplain.t
+t/40resultsetmanager.t
t/basicrels/01core.t
t/basicrels/04db.t
t/basicrels/05multipk.t
t/helperrels/20unique.t
t/lib/DBICTest.pm
t/lib/DBICTest/BasicRels.pm
+t/lib/DBICTest/Extra.pm
+t/lib/DBICTest/Extra/Foo.pm
t/lib/DBICTest/HelperRels.pm
t/lib/DBICTest/Plain.pm
t/lib/DBICTest/Plain/Test.pm
t/lib/DBICTest/Schema/SelfRefAlias.pm
t/lib/DBICTest/Schema/Tag.pm
t/lib/DBICTest/Schema/Track.pm
+t/lib/DBICTest/Schema/TreeLike.pm
t/lib/DBICTest/Schema/TwoKeys.pm
t/lib/DBICTest/Setup.pm
t/lib/sqlite.sql
=head1 SEE ALSO
-=head2 L<DBIx::Class::Core> - DBIC Core Classes
+=over 4
-=head2 L<DBIx::Class::Manual> - User's manual
+=item L<DBIx::Class::Core> - DBIC Core Classes
-=head2 L<DBIx::Class::CDBICompat> - L<Class::DBI> Compat layer
+=item L<DBIx::Class::Manual> - User's manual
-=head2 L<DBIx::Class::DB> - database-level methods
+=item L<DBIx::Class::CDBICompat> - L<Class::DBI> Compat layer
-=head2 L<DBIx::Class::Table> - table-level methods
+=item L<DBIx::Class::Schema>
-=head2 L<DBIx::Class::Row> - row-level methods
+=item L<DBIx::Class::ResultSet>
-=head2 L<DBIx::Class::PK> - primary key methods
+=item L<DBIx::Class::ResultSource>
-=head2 L<DBIx::Class::ResultSet> - search result-set methods
+=item L<DBIx::Class::Row> - row-level methods
-=head2 L<DBIx::Class::Relationship> - relationships between tables
+=item L<DBIx::Class::PK> - primary key methods
+
+=item L<DBIx::Class::Relationship> - relationships between tables
+
+=back
=head1 AUTHOR
foreach my $meth (@{Class::Inspector->methods($self) || []}) {
my $attrs = $cache->{$self->can($meth)};
next unless $attrs;
- if ($attrs->[0] eq 'resultset') {
+ if ($attrs->[0] eq 'ResultSet') {
no strict 'refs';
my $resultset_class = $self->_setup_resultset_class;
*{"$resultset_class\::$meth"} = *{"$self\::$meth"};
This package implements two useful features for customizing resultset classes.
C<load_resultset_components> loads components in addition to C<DBIx::Class::ResultSet>
-(or whatever you set as C<base_resultset_class>). Any methods tagged with the C<resultset>
+(or whatever you set as C<base_resultset_class>). Any methods tagged with the C<ResultSet>
attribute will be moved into a table-specific resultset class (by default called
C<Class::_resultset>).
__PACKAGE__->load_components(qw/ ResultSetManager Core /);
__PACKAGE__->table('foo');
-sub bar : resultset { 'good' }
+sub bar : ResultSet { 'good' }