db\mysql\QueryBuilder dropPrimaryKey()

dropPrimaryKey() public method

Builds a SQL statement for removing a primary key constraint to an existing table.

public string dropPrimaryKey ( $name, $table )
$name string

The name of the primary key constraint to be removed.

$table string

The table that the primary key constraint will be removed from.

return string

The SQL statement for removing a primary key constraint from an existing table.

doc_Yii
2016-10-30 16:58:29
Comments
Leave a Comment

Please login to continue.