Max by Group
Class->max_group_by()
Like the countgroupby method, you can select objects from a MT::Object store using a SQL ‘MAX’ operator.
my $iter = MT::Foo->max_group_by($terms, {%args, group => $group_exprs,
max => 'column_name' })
Not a developer? Go to MovableType.com
Class->max_group_by()
Like the countgroupby method, you can select objects from a MT::Object store using a SQL ‘MAX’ operator.
my $iter = MT::Foo->max_group_by($terms, {%args, group => $group_exprs,
max => 'column_name' })