X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FCookbook.pod;h=677347966193b3cba7bf4256949e1857c8496b84;hb=3d5658966d987a203d6cb80804ad8d337f57e4b5;hp=e9ac0ad39fb1dc4455b98fb594040affaf30d005;hpb=9dc1bfce52b2532765387957e20b21a119c9065a;p=dbsrgits%2FDBIx-Class.git 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: