protected function compileUpdateColumns($values)
    {
        return collect($values)->map(function ($value, $key) {
            if ($this->isJsonSelector($key)) {
                return $this->compileJsonUpdateColumn($key, new JsonExpression($value));
            }

            return $this->wrap($key).' = '.$this->parameter($value);
        })->implode(', ');
    }
protected function compileUpdateColumns($values)
    {
        return collect($values)->map(function ($value, $key) {
            if ($this->isJsonSelector($key)) {
                return $this->compileJsonUpdateColumn($key, new JsonExpression($value));
            }

            return $this->wrap($key).' = '.$this->parameter($value);
        })->implode(', ');
    }
protected function compileUpdateColumns ( $ values ) { return collect ( $ values ) -> map ( function ( $ value , $ key ) { if ( $ this -> isJsonSelector ( $ key ) ) { return $ this -> compileJsonUpdateColumn ( $ key , new JsonExpression ( $ value ) ) ; } return $ this -> wrap ( $ key ) . ' = ' . $ this -> parameter ( $ value ) ; } ) -> implode ( ', ' ) ; }
Compile all of the columns for an update statement.

@param  array  $values
@return string
Compile all of the columns for an update statement .