src/Driver/Compiler.php
protected function prepareUpdates(array $updates): string
    {
        foreach ($updates as $column => &$value) {
            if ($value instanceof FragmentInterface) {
                $value = $this->prepareFragment($value);
            } else {
                //Simple value (such condition should never be met since every value has to be
                //wrapped using parameter interface)
                $value = '?';
            }

            $value = "{$this->quote($column)} = {$value}";
            unset($value);
        }

        return trim(implode(', ', $updates));
    }
protected function prepareUpdates(array $updates): string
    {
        foreach ($updates as $column => &$value) {
            if ($value instanceof FragmentInterface) {
                $value = $this->prepareFragment($value);
            } else {
                //Simple value (such condition should never be met since every value has to be
                //wrapped using parameter interface)
                $value = '?';
            }

            $value = "{$this->quote($column)} = {$value}";
            unset($value);
        }

        return trim(implode(', ', $updates));
    }
protected function prepareUpdates ( array $ updates ) : string { foreach ( $ updates as $ column => & $ value ) { if ( $ value instanceof FragmentInterface ) { $ value = $ this -> prepareFragment ( $ value ) ; } else { //Simple value (such condition should never be met since every value has to be //wrapped using parameter interface) $ value = '?' ; } $ value = "{$this->quote($column)} = {$value}" ; unset ( $ value ) ; } return trim ( implode ( ', ' , $ updates ) ) ; }
Prepare column values to be used in UPDATE statement.

@param array $updates

@return string
Prepare column values to be used in UPDATE statement .