Feature #55793

Add Support for groupBy

Added by Kerstin Huppenbauer almost 8 years ago. Updated over 7 years ago.

Status:
Under Review
Priority:
Could have
Category:
Persistence
Target version:
-
Start date:
2014-02-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

groupBy is supported by Doctrine, but at the moment not by Flow.
This Patch add's groupBy Support to Flow and can be used this way:

$query = $this->createQuery();
return $query->matching()
->setGroupBy(array('propertyName'))
->execute();

Files

groupings.patch (6.2 KB) groupings.patch Rename "groupBy" to "groupings" Mathias Brodala, 2014-09-02 08:54
generic-persistence-groupings.patch (2.13 KB) generic-persistence-groupings.patch Implement groupings in generic persistence Mathias Brodala, 2014-09-02 09:36
persistence-default-groupings.patch (3.62 KB) persistence-default-groupings.patch Default groupings in persistence Mathias Brodala, 2014-09-02 09:38

Also available in: Atom PDF