KeyvalHydrator
extends AbstractHydrator
in package
Récupération de paires clé/valeur pour chaque ligne de résultat.
Note: colonne 1 en clé et colonne 2 en valeur uniquement
Exemple:
SELECT a, b, c FROM t < array(a1 => b1, a2 => b2, a3 => b3 ...)
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>