original_string: public function buildUpdate(Query $query) {
          return $this->renderStatement(Query::UPDATE, [
              'fields' => $this->formatFields($query),
              'table' => $this->formatTable($query->getTable(), $query->getAlias()),
              'joins' => $this->formatJoins($query->getJoins()),
              'where' => $this->formatWhere($query->getWhere()),
              'orderBy' => $this->formatOrderBy($query->getOrderBy()),
              'limit' => $this->formatLimit($query->getLimit()),
          ] + $this->formatAttributes($query->getAttributes()));
      }
code: public function buildUpdate(Query $query) {
          return $this->renderStatement(Query::UPDATE, [
              'fields' => $this->formatFields($query),
              'table' => $this->formatTable($query->getTable(), $query->getAlias()),
              'joins' => $this->formatJoins($query->getJoins()),
              'where' => $this->formatWhere($query->getWhere()),
              'orderBy' => $this->formatOrderBy($query->getOrderBy()),
              'limit' => $this->formatLimit($query->getLimit()),
          ] + $this->formatAttributes($query->getAttributes()));
      }
code_tokens: public function buildUpdate ( Query $ query ) { return $ this -> renderStatement ( Query :: UPDATE , [ 'fields' => $ this -> formatFields ( $ query ) , 'table' => $ this -> formatTable ( $ query -> getTable ( ) , $ query -> getAlias ( ) ) , 'joins' => $ this -> formatJoins ( $ query -> getJoins ( ) ) , 'where' => $ this -> formatWhere ( $ query -> getWhere ( ) ) , 'orderBy' => $ this -> formatOrderBy ( $ query -> getOrderBy ( ) ) , 'limit' => $ this -> formatLimit ( $ query -> getLimit ( ) ) , ] + $ this -> formatAttributes ( $ query -> getAttributes ( ) ) ) ; }
docstring: Build the UPDATE query.
  
  @param \Titon\Db\Query $query
  @return string
docstring_tokens: Build the UPDATE query .