findTableConstraints() protected method (available since version 2.0.4)
Collects the constraint details for the given table and constraint type.
| protected array findTableConstraints ( $table, $type ) | ||
|---|---|---|
| $table | yii\db\mssql\TableSchema | |
| $type | string |
Either PRIMARY KEY or UNIQUE |
| return | array |
Each entry contains index_name and field_name |
Please login to continue.