eee
This commit is contained in:
@@ -490,6 +490,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
|||||||
if ($generate === FALSE) {
|
if ($generate === FALSE) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
var_dump($generate, $query->params);
|
||||||
if (!$this->getConnection()->createCommand($generate, $query->params)->exec()) {
|
if (!$this->getConnection()->createCommand($generate, $query->params)->exec()) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,7 +78,6 @@ class SqlBuilder extends Component
|
|||||||
$params = $this->query->params;
|
$params = $this->query->params;
|
||||||
$this->query->params = [];
|
$this->query->params = [];
|
||||||
$array = $this->makeParams($attributes);
|
$array = $this->makeParams($attributes);
|
||||||
var_dump($params, $array);
|
|
||||||
foreach ($params as $name => $value) {
|
foreach ($params as $name => $value) {
|
||||||
$this->query->pushParam($value);
|
$this->query->pushParam($value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user