src/ORM/Queries/SQLExpression.php
public function renameTable($old, $new)
    {
        $this->replaceText("`$old`", "`$new`");
        $this->replaceText("\"$old\"", "\"$new\"");
        $this->replaceText(Convert::symbol2sql($old), Convert::symbol2sql($new));
    }
public function renameTable($old, $new)
    {
        $this->replaceText("`$old`", "`$new`");
        $this->replaceText("\"$old\"", "\"$new\"");
        $this->replaceText(Convert::symbol2sql($old), Convert::symbol2sql($new));
    }
public function renameTable ( $ old , $ new ) { $ this -> replaceText ( "`$old`" , "`$new`" ) ; $ this -> replaceText ( "\"$old\"" , "\"$new\"" ) ; $ this -> replaceText ( Convert :: symbol2sql ( $ old ) , Convert :: symbol2sql ( $ new ) ) ; }
Swap the use of one table with another.

@param string $old Name of the old table (unquoted, escaped)
@param string $new Name of the new table (unquoted, escaped)
Swap the use of one table with another .