renameColumn() public method
Creates a SQL command for renaming a column.
| public $this renameColumn ( $table, $oldName, $newName ) | ||
|---|---|---|
| $table | string |
The table whose column is to be renamed. The name will be properly quoted by the method. |
| $oldName | 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. |
| return | $this |
The command object itself |
Please login to continue.