my $rs = $schema->resultset('Events')->search( {}, { select => [ 'name', { max => 'event_id' } ], as => [qw/ name max_event_id /], group_by => [qw/ name /] } );
In reply to Re^2: MAX and GROUP BY in DBIx::Class
by ysth
in thread MAX and GROUP BY in DBIx::Class
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |