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' })
This page is part of the MT::Object Reference
- Previous Counting groups of objects
This page was last updated on 2008-10-01, 17:07.
Leave a note
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.