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
#1

Updated by Gerrit Code Review almost 8 years 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 over 7 years 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 over 7 years 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 over 7 years ago

Suggestions:

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

Updated by Mathias Brodala over 7 years ago

Implement default groupings in persistence (Doctrine + Generic)

Also available in: Atom PDF