[Bast-commits] r6354 - DBIx-Class/0.08/trunk/lib/DBIx/Class

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Wed May 20 20:59:10 GMT 2009

Author: ribasushi
Date: 2009-05-20 20:59:10 +0000 (Wed, 20 May 2009)
New Revision: 6354

POD fixes

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2009-05-20 16:03:55 UTC (rev 6353)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/ResultSet.pm	2009-05-20 20:59:10 UTC (rev 6354)
@@ -46,28 +46,14 @@
 ResultSet. The new one will contain all the conditions of the
 original, plus any new conditions added in the C<search> call.
-A ResultSet is also an iterator. L</next> is used to return all the
-L<DBIx::Class::Row>s the ResultSet represents.
+A ResultSet also incorporates an implicit iterator. L</next> and L</reset>
+can be used to walk through all the L<DBIx::Class::Row>s the ResultSet
 The query that the ResultSet represents is B<only> executed against
 the database when these methods are called:
+L</find> L</next> L</all> L</first> L</single> L</count>
-=item L</find>
-=item L</next>
-=item L</all>
-=item L</count>
-=item L</single>
-=item L</first>
 =head1 EXAMPLES
 =head2 Chaining resultsets
@@ -1145,8 +1131,8 @@
 Performs an SQL C<COUNT> with the same query as the resultset was built
-with to find the number of elements. If passed arguments, does a search
-on the resultset and counts the results of that.
+with to find the number of elements. Passing arguments is equivalent to
+C<< $rs->search ($cond, \%attrs)->count >>

More information about the Bast-commits mailing list