JDatabaseDriver::renameTable
Renames a table in the database.
Signature
public function renameTable(string
$oldTable,
[string
$newTable = null,
[string
$backup = null,
[string
$prefix = null]]] )
Parameters
-
$oldTable
- The name of the table to be renamed
-
$newTable
- The new name for the table.
-
$backup
- Table prefix
-
$prefix
- For the table - used to rename constraints in non-mysql databases
Returns
- JDatabaseDriver
- Returns this object to support chaining.