From: Peter Rabbitson Date: Thu, 3 Jul 2008 23:52:31 +0000 (+0000) Subject: Minor cookbook fix (two adjacent examples were mixed up) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d5658966d987a203d6cb80804ad8d337f57e4b5;p=dbsrgits%2FDBIx-Class-Historic.git Minor cookbook fix (two adjacent examples were mixed up) --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index e9ac0ad..6773479 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -194,8 +194,6 @@ any of your aliases using either of these: } ); - my $count = $rs->next->get_column('count'); - =head2 SELECT COUNT(DISTINCT colname) my $rs = $schema->resultset('Foo')->search( @@ -208,6 +206,8 @@ any of your aliases using either of these: } ); + my $count = $rs->next->get_column('count'); + =head2 Grouping results L supports C as follows: