framework/db/pgsql/QueryBuilder.php
public function renameTable($oldName, $newName)
    {
        return 'ALTER TABLE ' . $this->db->quoteTableName($oldName) . ' RENAME TO ' . $this->db->quoteTableName($newName);
    }
public function renameTable($oldName, $newName)
    {
        return 'ALTER TABLE ' . $this->db->quoteTableName($oldName) . ' RENAME TO ' . $this->db->quoteTableName($newName);
    }
public function renameTable ( $ oldName , $ newName ) { return 'ALTER TABLE ' . $ this -> db -> quoteTableName ( $ oldName ) . ' RENAME TO ' . $ this -> db -> quoteTableName ( $ newName ) ; }
Builds a SQL statement for renaming a DB table.
@param string $oldName the table to be renamed. The name will be properly quoted by the method.
@param string $newName the new table name. The name will be properly quoted by the method.
@return string the SQL statement for renaming a DB table.
Builds a SQL statement for renaming a DB table .