Commit cc07b221 by 冷斌

debug

parent a38b2944
......@@ -383,8 +383,9 @@ class NotORM_Result extends NotORM_Abstract implements Iterator, ArrayAccess, Co
if($this->parameters){
$parameters = array_merge($parameters, $this->parameters);
}
var_dump('----a-----');
var_dump("UPDATE" . $this->topString($this->limit, $this->offset) . " $this->table SET " . implode(", ", $values) . $this->whereString(), $parameters);
die;
var_dump('----a-----');
// joins in UPDATE are supported only in MySQL
$return = $this->query("UPDATE" . $this->topString($this->limit, $this->offset) . " $this->table SET " . implode(", ", $values) . $this->whereString(), $parameters);
if(!$return){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment