renameColumn() public method
Builds and executes a SQL statement for renaming a column.
| public void renameColumn ( $table, $name, $newName ) | ||
|---|---|---|
| $table | string |
The table whose column is to be renamed. The name will be properly quoted by the method. |
| $name | string |
The old name of the column. The name will be properly quoted by the method. |
| $newName | string |
The new name of the column. The name will be properly quoted by the method. |
Please login to continue.