|
|
@@ -418,12 +418,14 @@ EOF_STRUCT_MYSQL;
|
|
|
}
|
|
|
|
|
|
public function fetchAll($sql) {
|
|
|
+ DBG::_('DBG_SQL', '>3', "sql", $sql, __CLASS__, __FUNCTION__, __LINE__);
|
|
|
$sth = $this->prepare($sql);
|
|
|
$sth->execute();
|
|
|
return $sth->fetchAll();
|
|
|
}
|
|
|
|
|
|
public function fetchAllByKey($sql, $key = 'ID') {
|
|
|
+ DBG::_('DBG_SQL', '>3', "sql", $sql, __CLASS__, __FUNCTION__, __LINE__);
|
|
|
$rowsByKey = array();
|
|
|
$sth = $this->prepare($sql);
|
|
|
$sth->execute();
|