sphinx\Command renameColumn()

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

doc_Yii
2016-10-30 17:11:51
Comments
Leave a Comment

Please login to continue.