src/Titon/Db/Driver/Dialect/AbstractPdoDialect.php
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()));
    }
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()));
    }
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 ( ) ) ) ; }
Build the UPDATE query.

@param \Titon\Db\Query $query
@return string
Build the UPDATE query .