KeyhashHydrator
extends ArrayHydrator
in package
Récupération des résultats groupés par les valeurs uniques de la 1ère colonne (en index)
Exemple:
SELECT a, b, c FROM t < array( a1 => array('a' => a1, 'b' => b1, 'c' => c1) a2 => array('a' => a2, 'b' => b2, 'c' => c2) ... )
Table of Contents
Methods
- hydrateAllData() : array<string|int, mixed>
- Hydrates all rows from the current statement instance at once.
Methods
hydrateAllData()
Hydrates all rows from the current statement instance at once.
protected
hydrateAllData() : array<string|int, mixed>