Not a developer? Go to MovableType.com

Documentation

Sum by Group

Class->sum_group_by()

Like the count_group_by method, you can select groups of sums from a MT::Object store.

my $iter = MT::Foo->sum_group_by($terms, {%args, group => $group_exprs,
    avg => 'property_to_sum' })
Back

Leave a Comment