[Catalyst-commits] r9092 - trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC

jgottshall at dev.catalyst.perl.org jgottshall at dev.catalyst.perl.org
Thu Jan 15 20:11:43 GMT 2009


Author: jgottshall
Date: 2009-01-15 20:11:43 +0000 (Thu, 15 Jan 2009)
New Revision: 9092

Modified:
   trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm
Log:
Doc patch referencing custom resultset classes


Modified: trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm
===================================================================
--- trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm	2009-01-15 18:54:59 UTC (rev 9091)
+++ trunk/Catalyst-Model-DBIC-Schema/lib/Catalyst/Model/DBIC/Schema.pm	2009-01-15 20:11:43 UTC (rev 9092)
@@ -175,6 +175,11 @@
   # using the generated class directly
   my $rs = $c->model('FilmDB::Actor');
 
+In order to add methods to a DBIC resultset, you cannot simply add them to 
+the source (row, table) definition class; you must define a separate custom 
+resultset class. See L<DBIx::Class::Manual::Cookbook/"Predefined searches"> 
+for more info.
+
 =head1 CONFIG PARAMETERS
 
 =over 4




More information about the Catalyst-commits mailing list