->from('appconfig'); | ->from('appconfig'); | ||||
$result = $sql->execute(); | $result = $sql->execute(); | ||||
while ($row = $result->fetch()) { | |||||
// we are going to store the result in memory anyway | |||||
$rows = $result->fetchAll(); | |||||
foreach ($rows as $row) { | |||||
if (!isset($this->cache[$row['appid']])) { | if (!isset($this->cache[$row['appid']])) { | ||||
$this->cache[$row['appid']] = []; | $this->cache[$row['appid']] = []; | ||||
} | } |