in reply to Perform addition of data from rows
That was basically straight from here: https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/Manual/Cookbook.poduse strict; use warnings; use DBIx::Class; my $rs = $schema->resultset('YOURTABLENAMEHERE')->search( {}, { columns => [ qw/name/ ], distinct => 1 } ); my $count = $rs->count;
|
|---|