original_string: 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(', ');
      }
code: 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(', ');
      }
code_tokens: 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 ( ', ' ) ; }
docstring: Compile all of the columns for an update statement.
  
  @param  array  $values
  @return string
docstring_tokens: Compile all of the columns for an update statement .