renameTable
void public \Bitrix\Main\DB\MysqlCommonConnection::renameTable( string $currentName, string $newName );
This non-static method renames a table. The table must exit and the new name must be unique within the database.
Parameters
Parameter | Description | Version |
---|---|---|
$currentName | Current table name. | |
$newName | New table name. |
Exceptions
Examples
© «Bitrix24», 2001-2024
Up