protected function _buildUpdatePart($parts, $query, $generator)
    {
        $table = $this->_stringifyExpressions($parts, $generator);
        $modifiers = $this->_buildModifierPart($query->clause('modifier'), $query, $generator);

        return sprintf('UPDATE%s %s', $modifiers, implode(',', $table));
    }
protected function _buildUpdatePart($parts, $query, $generator)
    {
        $table = $this->_stringifyExpressions($parts, $generator);
        $modifiers = $this->_buildModifierPart($query->clause('modifier'), $query, $generator);

        return sprintf('UPDATE%s %s', $modifiers, implode(',', $table));
    }
protected function _buildUpdatePart ( $ parts , $ query , $ generator ) { $ table = $ this -> _stringifyExpressions ( $ parts , $ generator ) ; $ modifiers = $ this -> _buildModifierPart ( $ query -> clause ( 'modifier' ) , $ query , $ generator ) ; return sprintf ( 'UPDATE%s %s' , $ modifiers , implode ( ',' , $ table ) ) ; }
Builds the SQL fragment for UPDATE.

@param array $parts The update parts.
@param \Cake\Database\Query $query The query that is being compiled
@param \Cake\Database\ValueBinder $generator the placeholder generator to be used in expressions
@return string SQL fragment.
Builds the SQL fragment for UPDATE .