Jet\DataModel_Query_GroupBy
The class represents the GROUP BY part of the query. It is a subentity of the Jet\DataModel_Query class.
Overview of methods
| Method | Meaning of |
|---|---|
| public __construct( DataModel_Query $query, array|string $group_by ) |
Parameters:
|
| public getIsEmpty( ) : bool |
Indicates whether the definition is empty. |
| public current( ) : DataModel_Query_Select_Item| DataModel_Definition_Property |
The class is an iterator - the definition can be traversed as an array. |
| public key( ) : string |
The class is an iterator - the definition can be traversed as an array. |
| public next( ) : mixed |
The class is an iterator - the definition can be traversed as an array. |
| public rewind( ) : void |
The class is an iterator - the definition can be traversed as an array. |
| public valid( ) : bool |
The class is an iterator - the definition can be traversed as an array. |
| public count( ) : int |
The class is an iterator - the definition can be traversed as an array. |