From: Peter Rabbitson Date: Fri, 12 Aug 2011 16:22:02 +0000 (+0200) Subject: Leftovers from original ResultClass.pod sketch X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fabandoned%2Fresultclass_pod_method_sectioning;p=dbsrgits%2FDBIx-Class-Historic.git Leftovers from original ResultClass.pod sketch --- diff --git a/lib/DBIx/Class/Manual/ResultClass.pod b/lib/DBIx/Class/Manual/ResultClass.pod index 7699a81..4ec6f97 100644 --- a/lib/DBIx/Class/Manual/ResultClass.pod +++ b/lib/DBIx/Class/Manual/ResultClass.pod @@ -8,7 +8,7 @@ a DB query package My::Schema::Result::Track; - use parent 'DBIx::Class::Core'; + use base 'DBIx::Class::Core'; __PACKAGE__->table('tracks'); @@ -47,6 +47,31 @@ C. This document serves as a general overview of C declaration best practices, and offers an index of the available methods (and the Components/Roles which provide them). +=head1 INITIALIZATION METHODS + +=head2 table_class + + __PACKAGE__->table_class('DBIx::Class::ResultSource::View') + +The accessor holds the class name from which the result source instance of +this result class will be derived. If not specified defaults to +L. + +=head2 table + + __PACKAGE__->table('artists'); + +See L and L in DBIx::Class +Instantiates a result source instance and sets its +L to the supplied argument. If called +without arguments proxies to L. + +=for todo +=head1 RESULTSOURCE METADATA METHODS + +=for todo +=head1 DATA INSTANCE MANIPULATION METHODS + =head1 AUTHOR AND CONTRIBUTORS See L and L in DBIx::Class