Averaging by Group
Class->avg_group_by()
Like the countgroupby method, you can select groups of averages from a MT::Object store.
my $iter = MT::Foo->avg_group_by($terms, {%args, group => $group_exprs,
avg => 'property_to_average' })
Not a developer? Go to MovableType.com
Class->avg_group_by()
Like the countgroupby method, you can select groups of averages from a MT::Object store.
my $iter = MT::Foo->avg_group_by($terms, {%args, group => $group_exprs,
avg => 'property_to_average' })