Feature #55793

Add Support for groupBy

Added by Kerstin Huppenbauer over 1 year ago. Updated 11 months ago.

Status:Under Review Start date:2014-02-08
Priority:Could have Due date:
Assigned To:Kerstin Huppenbauer % Done:

0%

Category:Persistence
Target version:-
PHP Version: Complexity:
Has patch:No

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();

groupings.patch Magnifier - Rename "groupBy" to "groupings" (6.2 kB) Mathias Brodala, 2014-09-02 08:54

generic-persistence-groupings.patch Magnifier - Implement groupings in generic persistence (2.1 kB) Mathias Brodala, 2014-09-02 09:36

persistence-default-groupings.patch Magnifier - Default groupings in persistence (3.6 kB) Mathias Brodala, 2014-09-02 09:38

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/27461

#2 Updated by Gerrit Code Review 11 months ago

Patch set 2 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/27461

#3 Updated by Gerrit Code Review 11 months ago

Patch set 3 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/27461

#4 Updated by Mathias Brodala 11 months ago

Suggestions:

  1. Rename "groupBy" to "groupings" to be consistent with "orderings"
  2. Move "groupings" right after "orderings"

#6 Updated by Mathias Brodala 11 months ago

Implement default groupings in persistence (Doctrine + Generic)

Also available in: Atom PDF