public function rename($from, $to)
    {
        $sql = sprintf('RENAME TABLE %s TO %s', $from, $to);
        $this->db->executeUpdate($sql);

        return $this;
    }
public function rename($from, $to)
    {
        $sql = sprintf('RENAME TABLE %s TO %s', $from, $to);
        $this->db->executeUpdate($sql);

        return $this;
    }
public function rename ( $ from , $ to ) { $ sql = sprintf ( 'RENAME TABLE %s TO %s' , $ from , $ to ) ; $ this -> db -> executeUpdate ( $ sql ) ; return $ this ; }
Execute a rename table sql

@param string $from
@param string $to
@return $this
Execute a rename table sql