src/DB/SQLAssembler/SQLAssembler.php
public function update($table, $data, $where)
    {
        $params = array();
        $fields = $this->parseData($data, $params);
        $where_str = $this->parseWhere($where, $params);

        $fields = trim($fields, ',');
        $this->setSQL("UPDATE {$table} SET {$fields} WHERE {$where_str}");
        $this->setParams($params);
    }
public function update($table, $data, $where)
    {
        $params = array();
        $fields = $this->parseData($data, $params);
        $where_str = $this->parseWhere($where, $params);

        $fields = trim($fields, ',');
        $this->setSQL("UPDATE {$table} SET {$fields} WHERE {$where_str}");
        $this->setParams($params);
    }
更新

@param string $table
@param string $data
@param string $where
@return mixed|void
@throws CoreException