fixPrimaryKey() public method
Manually specifies the primary key for this table.
| public void fixPrimaryKey ( $keys ) | ||
|---|---|---|
| $keys | string|array |
The primary key (can be composite) |
| throws | yii\base\InvalidParamException |
if the specified key cannot be found in the table. |
Please login to continue.