db\sqlite\QueryBuilder dropForeignKey()

dropForeignKey() public method

Builds a SQL statement for dropping a foreign key constraint.

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

The name of the foreign key constraint to be dropped. The name will be properly quoted by the method.

$table string

The table whose foreign is to be dropped. The name will be properly quoted by the method.

return string

The SQL statement for dropping a foreign key constraint.

throws yii\base\NotSupportedException

this is not supported by SQLite

doc_Yii
2016-10-30 16:59:55
Comments
Leave a Comment

Please login to continue.